remove CommentSubscription; fix subscribe/unsibscribe method

This commit is contained in:
knst-kotov
2022-06-23 11:39:00 +03:00
parent f92be99bce
commit f93b17cead
6 changed files with 14 additions and 45 deletions

View File

@@ -219,7 +219,7 @@ async def invite_author(_, author_slug, shout):
@mutation.field("removeAuthor")
@login_required
async def invite_author(_, author_slug, shout):
async def remove_author(_, author_slug, shout):
auth = info.context["request"].auth
user_id = auth.user_id
@@ -241,4 +241,4 @@ async def invite_author(_, author_slug, shout):
# TODO: email notify
return {}
return {}