perf: Sync feishu info
parent
3781c40179
commit
f4b3a7d73a
|
|
@ -162,6 +162,7 @@ class FeiShu(RequestMixin):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f'Get user detail error: {e} data={data}')
|
logger.error(f'Get user detail error: {e} data={data}')
|
||||||
|
|
||||||
|
data.update(kwargs['other_info'] if 'other_info' in kwargs else {})
|
||||||
info = flatten_dict(data)
|
info = flatten_dict(data)
|
||||||
default_detail = self.default_user_detail(data, user_id)
|
default_detail = self.default_user_detail(data, user_id)
|
||||||
detail = map_attributes(default_detail, info, self.attributes)
|
detail = map_attributes(default_detail, info, self.attributes)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue