Add logging to inviting
This commit is contained in:
parent
08ba387311
commit
12c049fec2
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ class Invitation
|
|||
|
||||
invitee.send(:generate_invitation_token)
|
||||
invitee.invite!
|
||||
Rails.logger.info("event=invitation_sent to=#{opts[:email]} #{"inviter=#{opts[:from].diaspora_handle}" if opts[:from]}")
|
||||
end
|
||||
invitee
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue