Skip to content

Commit

Permalink
Merge b41c815 into c674c54
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronkazah committed Dec 16, 2018
2 parents c674c54 + b41c815 commit 430de55
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions invitations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,10 @@ def get_queryset(self):
def accept_invitation(invitation, request, signal_sender):
invitation.accepted = True
invitation.save()

invite_accepted.send(sender=signal_sender, email=invitation.email)

invite_accepted.send(
sender=signal_sender,
email=invitation.email,
request=request)
get_invitations_adapter().add_message(
request,
messages.SUCCESS,
Expand Down

0 comments on commit 430de55

Please sign in to comment.