get-author-fix-3
All checks were successful
Deploy on push / deploy (push) Successful in 23s

This commit is contained in:
Untone 2024-02-26 04:22:06 +03:00
parent a00c68068f
commit eab1700b0d

View File

@ -57,7 +57,7 @@ async def get_author(_, _info, slug='', author_id=None):
traceback.print_exc()
logger.error(exc)
return author
return author or {"slug": "anonymous", "id": 1, "name": "Аноним", "bio": "Неизвестно кто"}
async def get_author_by_user_id(user_id: str):