This commit is contained in:
parent
25f929026f
commit
080ba76684
|
@ -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):
|
||||
"""
|
||||
Получение реакций пользователя на публикации
|
||||
"""
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user