Skip to content

Commit

Permalink
Merge pull request #197 from kufu/fixes/friend_limit
Browse files Browse the repository at this point in the history
Change friend QR code limit
  • Loading branch information
kinoppyd authored May 14, 2024
2 parents 8453efd + 6c0b56e commit 048e5df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/controllers/friends_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def new

if @trigger
@trigger.key = SecureRandom.uuid
@trigger.expires_at = Time.zone.now + 30.seconds
@trigger.amount = 1
@trigger.expires_at = Time.zone.now + 90.seconds
@trigger.amount = 7
else
@trigger = new_trigger
end
Expand Down Expand Up @@ -51,8 +51,8 @@ def new_trigger
action: :craete
}
],
expires_at: Time.zone.now + 30.seconds,
amount: 1
expires_at: Time.zone.now + 90.seconds,
amount: 7
)
end
end

0 comments on commit 048e5df

Please sign in to comment.