This commit is contained in:
parent
b26da8f316
commit
ceecef6a7a
|
@ -57,7 +57,8 @@ async def get_author(_, _info, slug='', author_id=None):
|
||||||
import traceback
|
import traceback
|
||||||
exc = traceback.format_exc()
|
exc = traceback.format_exc()
|
||||||
logger.error(exc)
|
logger.error(exc)
|
||||||
return {"slug": "anonymous", "id": 1, "name": "Аноним", "bio": "Неизвестно кто"}
|
return
|
||||||
|
# {"slug": "anonymous", "id": 1, "name": "Аноним", "bio": "Неизвестно кто"}
|
||||||
|
|
||||||
|
|
||||||
async def get_author_by_user_id(user_id: str):
|
async def get_author_by_user_id(user_id: str):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user