Skip to content

Commit

Permalink
LTI-393: fixed bug in rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
jfederico committed Jun 28, 2024
1 parent 95e4cbf commit 281240b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/tenant.rake
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ namespace :tenant do
abort('The UID cannot be blank.') if uid.blank?

# Hours to expire.
hours = args[:hours] || 1
hours = Integer(args[:hours] || 1)

tenant = RailsLti2Provider::Tenant.find_by(uid: uid)
if tenant.nil?
Expand Down

0 comments on commit 281240b

Please sign in to comment.