Fix accept invitation return
This commit is contained in:
parent
80d8fd5231
commit
b6052eceb9
|
@ -237,7 +237,7 @@ async def accept_invitation(invitation_id: PydanticObjectId, user: CurrentUserDe
|
|||
)
|
||||
notification = await notification.create()
|
||||
|
||||
return Response(status.HTTP_204_NO_CONTENT)
|
||||
return Response(status_code=status.HTTP_204_NO_CONTENT)
|
||||
|
||||
|
||||
@invitations_router.post("{invitation_id}/decline")
|
||||
|
|
Loading…
Reference in a new issue