fmt
All checks were successful
Deploy to core / deploy (push) Successful in 1m55s

This commit is contained in:
2024-02-21 13:47:33 +03:00
parent f75eb13971
commit 2cfcab744e
2 changed files with 14 additions and 11 deletions

View File

@@ -194,7 +194,7 @@ async def get_author_by_user_id(user_id: str):
redis_key = f"user:{user_id}:author"
res = await redis.execute("HGET", redis_key)
if isinstance(res, dict) and res.get("id"):
logger.debug(f'got cached author: {res}')
logger.debug(f"got cached author: {res}")
return res
logger.info(f"getting author id for {user_id}")