maintainance
All checks were successful
Deploy on push / deploy (push) Successful in 6m5s

This commit is contained in:
2025-10-03 13:58:52 +03:00
parent 91a3189167
commit 6faf75c229
6 changed files with 290 additions and 276 deletions

View File

@@ -64,11 +64,7 @@ def get_entity_field_name(entity_type: str) -> str:
@mutation.field("follow")
@login_required
async def follow(
_: None,
info: GraphQLResolveInfo,
what: str,
slug: str = "",
entity_id: int | None = None
_: None, info: GraphQLResolveInfo, what: str, slug: str = "", entity_id: int | None = None
) -> dict[str, Any]:
"""
GraphQL мутация для создания подписки на автора, тему, сообщество или публикацию.
@@ -270,11 +266,7 @@ async def follow(
@mutation.field("unfollow")
@login_required
async def unfollow(
_: None,
info: GraphQLResolveInfo,
what: str,
slug: str = "",
entity_id: int | None = None
_: None, info: GraphQLResolveInfo, what: str, slug: str = "", entity_id: int | None = None
) -> dict[str, Any]:
"""
GraphQL мутация для отмены подписки на автора, тему, сообщество или публикацию.