fieldnames-fix
All checks were successful
Deploy on push / deploy (push) Successful in 1m48s

This commit is contained in:
2024-02-23 21:27:38 +03:00
parent f04e20426f
commit 586672b279
4 changed files with 20 additions and 20 deletions

View File

@@ -19,7 +19,7 @@ async def accept_invite(_, info, invite_id: int):
invite = session.query(Invite).filter(Invite.id == invite_id).first()
if (
invite
and invite.author_id is author.id
and invite.author_d is author.id
and invite.status is InviteStatus.PENDING.value
):
# Add the user to the shout authors