one-joined-query
All checks were successful
Deploy on push / deploy (push) Successful in 1m32s

This commit is contained in:
2024-02-25 13:29:57 +03:00
parent eb4a4fef61
commit c216161ece
3 changed files with 85 additions and 15 deletions

View File

@@ -98,7 +98,9 @@ async def get_follows_by_user_id(user_id: str):
follows = {
'topics': topics,
'authors': authors,
'communities': [{'id': 1, 'name': 'Дискурс', 'slug': 'discours', 'pic': ''}],
'communities': [
{'id': 1, 'name': 'Дискурс', 'slug': 'discours', 'pic': ''}
],
}
else:
logger.debug(f'getting follows for {user_id} from redis')