all authors api

This commit is contained in:
2022-07-28 06:44:56 +03:00
parent 85ca876562
commit fa4d13ccf4
3 changed files with 11 additions and 0 deletions

View File

@@ -152,3 +152,7 @@ def author_unfollow(user, slug):
else:
session.delete(flw)
session.commit()
@query.field("authorsAll")
def get_authors_all(_, info):
return UserStorage.get_all_users()