Fix bug where now wasn't replaced

This commit is contained in:
Justin Edmund 2022-12-22 00:44:39 -08:00
parent 7ddc916216
commit c5391a6683
2 changed files with 2 additions and 2 deletions

View file

@ -111,7 +111,7 @@ module Api
{}.tap do |hash|
hash[:element] = params['element'] unless params['element'].blank?
hash[:raid] = params['raid'] unless params['raid'].blank?
hash[:created_at] = start_time..now unless params['recency'].blank?
hash[:created_at] = start_time..DateTime.current unless params['recency'].blank?
hash[:weapons_count] = 5..13
end
end

View file

@ -89,7 +89,7 @@ module Api
{}.tap do |hash|
hash[:element] = params['element'] unless params['element'].blank?
hash[:raid] = params['raid'] unless params['raid'].blank?
hash[:created_at] = start_time..now unless params['recency'].blank?
hash[:created_at] = start_time..DateTime.current unless params['recency'].blank?
end
end