mirror of
https://github.com/smallevilbeast/ntchat.git
synced 2025-07-07 12:46:06 +08:00
修复fastapi_example的get_contacts错误
This commit is contained in:
parent
b09ce23997
commit
e279b6e6fc
|
@ -82,7 +82,6 @@ async def user_get_profile(model: models.ClientReqModel):
|
||||||
@catch_exception()
|
@catch_exception()
|
||||||
async def get_contacts(model: models.ClientReqModel):
|
async def get_contacts(model: models.ClientReqModel):
|
||||||
data = client_mgr.get_client(model.guid).get_contacts()
|
data = client_mgr.get_client(model.guid).get_contacts()
|
||||||
print(data)
|
|
||||||
return response_json(1, data)
|
return response_json(1, data)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user