Fix lint.

This commit is contained in:
Guo Xiang Tan
2020-06-02 10:45:18 +08:00
parent 370cba451d
commit 7897010dfd

View File

@@ -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