mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 05:51:03 +08:00
Fix lint.
This commit is contained in:
parent
370cba451d
commit
7897010dfd
|
@ -147,8 +147,10 @@ InviteRedeemer = Struct.new(:invite, :username, :name, :password, :user_custom_f
|
|||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user