Formatting

This commit is contained in:
richard-dds
2018-11-12 14:33:11 -05:00
parent 016116c9cc
commit 248df9e184
2 changed files with 7 additions and 7 deletions

View File

@@ -379,7 +379,5 @@ def revoke_invitation(workspace_id, token):
@bp.route("/workspaces/<workspace_id>/invitations/<token>/resend", methods=["POST"])
def resend_invitation(workspace_id, token):
invite = Invitations.resend(g.current_user, workspace_id, token)
send_invite_email(
g.current_user.full_name, invite.token, invite.user_email
)
send_invite_email(g.current_user.full_name, invite.token, invite.user_email)
return redirect(url_for("workspaces.workspace_members", workspace_id=workspace_id))