Fix unused code
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
parent
c5fe73a074
commit
d164bae6c1
1 changed files with 0 additions and 1 deletions
|
|
@ -85,7 +85,6 @@ def get():
|
||||||
if not e:
|
if not e:
|
||||||
return get_data_error_result(message="Conversation not found!")
|
return get_data_error_result(message="Conversation not found!")
|
||||||
tenants = UserTenantService.query(user_id=current_user.id)
|
tenants = UserTenantService.query(user_id=current_user.id)
|
||||||
avatar = None
|
|
||||||
for tenant in tenants:
|
for tenant in tenants:
|
||||||
dialog = DialogService.query(tenant_id=tenant.tenant_id, id=conv.dialog_id)
|
dialog = DialogService.query(tenant_id=tenant.tenant_id, id=conv.dialog_id)
|
||||||
if dialog and len(dialog) > 0:
|
if dialog and len(dialog) > 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue