return-none
Some checks failed
Deploy on push / deploy (push) Failing after 5s

This commit is contained in:
Untone 2024-02-29 09:44:04 +03:00
parent b26da8f316
commit ceecef6a7a

View File

@ -57,7 +57,8 @@ async def get_author(_, _info, slug='', author_id=None):
import traceback
exc = traceback.format_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):