Skip to content

Commit

Permalink
fixed type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Hasjanov authored and Oleg Hasjanov committed Feb 12, 2024
1 parent 2dfa9ac commit 7484257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/phone_confirmation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class PhoneConfirmation
attr_reader :user

TIME_LIMIT = AuctionCenter::Application.config.customization[:mobile_sms_sent_time_limit_in_minutes] || 1.minutes
TIME_LIMIT = AuctionCenter::Application.config.customization[:mobile_sms_sent_time_limit_in_minutes].to_i.minutes || 1.minutes

def initialize(user)
@user = user
Expand Down

0 comments on commit 7484257

Please sign in to comment.