Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxworld committed Jun 2, 2020
1 parent 370cba4 commit 7897010
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/models/invite_redeemer.rb
Expand Up @@ -147,8 +147,10 @@ def approve_account_if_needed

def notify_invitee
if inviter = invite.invited_by
inviter.notifications.create!(notification_type: Notification.types[:invitee_accepted],
data: { display_username: invited_user.username }.to_json)
inviter.notifications.create!(
notification_type: Notification.types[:invitee_accepted],
data: { display_username: invited_user.username }.to_json
)
end
end

Expand Down

0 comments on commit 7897010

Please sign in to comment.