This commit is contained in:
2022-06-25 17:52:55 +03:00
8 changed files with 1059 additions and 1012 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 {}