less-logs
Some checks failed
Deploy on push / deploy (push) Failing after 5s

This commit is contained in:
Untone 2024-02-29 11:12:54 +03:00
parent a3c94a9ab7
commit 5bec25fc23

View File

@ -79,7 +79,7 @@ async def get_author_by_user_id(user_id: str):
if isinstance(res, str):
author = json.loads(res)
if author.get('id'):
logger.debug(f'got cached author: {author}')
logger.debug(f'got author @{author.slug} #{author.id} cached today')
return author
q = select(Author).filter(Author.user == user_id)