diff --git a/src/api/invitations.py b/src/api/invitations.py index d09bdf4..86bbcd5 100644 --- a/src/api/invitations.py +++ b/src/api/invitations.py @@ -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")