diff --git a/lib/tasks/tenant.rake b/lib/tasks/tenant.rake index 2c83edca..c3c588db 100644 --- a/lib/tasks/tenant.rake +++ b/lib/tasks/tenant.rake @@ -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?