fix: Wrong usage of env in TokenInstanceMetadataRefetch (#11317)

production-optimism
nikitosing 3 days ago committed by GitHub
parent 69915c919a
commit a2ddd4c1a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/indexer/lib/indexer/fetcher/on_demand/token_instance_metadata_refetch.ex

@ -46,7 +46,7 @@ defmodule Indexer.Fetcher.OnDemand.TokenInstanceMetadataRefetch do
end
defp fetch_and_broadcast_metadata(token_instance, _state) do
from_base_uri? = Application.get_env(:indexer, __MODULE__)[:base_uri_retry?]
from_base_uri? = Application.get_env(:indexer, TokenInstanceHelper)[:base_uri_retry?]
token_id = TokenInstanceHelper.prepare_token_id(token_instance.token_id)
contract_address_hash_string = to_string(token_instance.token_contract_address_hash)

Loading…
Cancel
Save