myrates-api-minor-fix
All checks were successful
Deploy on push / deploy (push) Successful in 5s

This commit is contained in:
Untone 2024-11-18 22:03:11 +03:00
parent 25f929026f
commit 080ba76684
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ from services.schema import mutation, query
@query.field("get_my_rates_comments")
@login_required
def get_my_rates_comments(info, comments: list[int], shout: int) -> list[dict]:
def get_my_rates_comments(_, info, comments: list[int], shout: int) -> list[dict]:
"""
Получение реакций пользователя на комментарии
"""
@ -43,7 +43,7 @@ def get_my_rates_comments(info, comments: list[int], shout: int) -> list[dict]:
@query.field("get_my_rates_shouts")
@login_required
def get_my_rates_shouts(info, shouts):
def get_my_rates_shouts(_,info, shouts):
"""
Получение реакций пользователя на публикации
"""

View File

@ -468,7 +468,7 @@ def apply_reaction_filters(by, q):
@query.field("load_reactions_by")
async def load_reactions_by(_, info, by, limit=50, offset=0):
async def load_reactions_by(_, _info, by, limit=50, offset=0):
"""
Load reactions based on specified parameters.