Skip to content

Commit

Permalink
Fix: ホワイトリストのドメインリストが並べ替えされていない問題
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Apr 9, 2024
1 parent 44af34f commit 58291ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/specified_domain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SpecifiedDomain < ApplicationRecord

class << self
def white_list_domain_caches
Rails.cache.fetch('specified_domains:white_list') { white_list_domains.to_a }
Rails.cache.fetch('specified_domains:white_list') { white_list_domains.order(:domain).to_a }
end

def save_from_hashes(rows, type, caches)
Expand Down

0 comments on commit 58291ab

Please sign in to comment.