This commit is contained in:
2023-09-28 15:51:28 +03:00
parent a32a18893e
commit 2c72189055
3 changed files with 9 additions and 8 deletions

View File

@@ -130,6 +130,7 @@ async def get_followed_authors(_, _info, slug) -> List[User]:
return await followed_authors(user_id)
# 2. Now, we can use the user_id to get the followed authors
async def followed_authors(user_id):
q = select(User)