cached-author-fi
All checks were successful
Deploy on push / deploy (push) Successful in 1m9s

This commit is contained in:
2024-06-05 21:04:48 +03:00
parent 35ef4357fb
commit d93fa4cb4b
3 changed files with 14 additions and 15 deletions

View File

@@ -91,7 +91,8 @@ async def get_author_by_user_id(user_id: str):
result = get_with_stat(author_query)
if result:
[author] = result
await cache_author(author.dict())
if author:
await cache_author(author.dict())
except Exception as exc:
import traceback