From 7897010dfde1a6d9b4b86df82aa3f77a5884db42 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 2 Jun 2020 10:45:18 +0800 Subject: [PATCH] Fix lint. --- app/models/invite_redeemer.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/models/invite_redeemer.rb b/app/models/invite_redeemer.rb index f70c8a1ae9e..9c716d2983f 100644 --- a/app/models/invite_redeemer.rb +++ b/app/models/invite_redeemer.rb @@ -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