async-login-requiered
All checks were successful
Deploy on push / deploy (push) Successful in 23s

This commit is contained in:
2024-02-26 12:14:08 +03:00
parent 2257c3375a
commit a93fa7fb18
3 changed files with 6 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ from services.schema import mutation
@mutation.field('rate_author')
@login_required
def rate_author(_, info, rated_slug, value):
async def rate_author(_, info, rated_slug, value):
user_id = info.context['user_id']
with local_session() as session: