Skip to content

Commit

Permalink
Fixed build - flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Nov 15, 2024
1 parent 070f436 commit b1a1ba2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion server/api/invitation.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def resend_external_invitation(external_identifier):
"recipient": invitation.invitee_email
}, invitation.collaboration, [invitation.invitee_email], service_names, reminder=True, preview=False,
working_outside_of_request_context=True)
return invitation_to_dict(invitation,include_expiry_date=True), 201
return invitation_to_dict(invitation, include_expiry_date=True), 201


@invitations_api.route("/v1/<external_identifier>", methods=["DELETE"], strict_slashes=False)
Expand Down
2 changes: 0 additions & 2 deletions server/test/api/test_invitation.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,5 +359,3 @@ def test_resend_api_invite(self):
diff = expiry_date - datetime.datetime.now()
self.assertEqual(14, diff.days)
self.assertTrue("Reminder: you have been invited by" in outbox[0].html)


0 comments on commit b1a1ba2

Please sign in to comment.