Skip to content

Commit

Permalink
Fix missing rename for cache
Browse files Browse the repository at this point in the history
See 97c02b8.
  • Loading branch information
dersmon committed Jul 23, 2024
1 parent 74c7af7 commit 6157811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions publication/lib/field_publication/publications/search.ex
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ defmodule FieldPublication.Publications.Search do
end

def get_label_usage() do
Cachex.get(:configuration_docs, :system_wide_label_usage)
Cachex.get(:document_cache, :system_wide_label_usage)
|> case do
{:ok, nil} ->
update_label_usage()
Expand Down Expand Up @@ -318,7 +318,7 @@ defmodule FieldPublication.Publications.Search do
end
)

Cachex.put(:configuration_docs, :system_wide_label_usage, info)
Cachex.put(:document_cache, :system_wide_label_usage, info)

info
end
Expand Down

0 comments on commit 6157811

Please sign in to comment.