   ## Private
 
   defp retrieve(key) do
-    Agent.get(__MODULE__, &Map.get(&1, key))
+    Agent.get(@agent_name, &Map.get(&1, key))
   end
 
   defp store(value, key) do
-    Agent.update(__MODULE__, &Map.put(&1, key, value))
+    Agent.update(@agent_name, &Map.put(&1, key, value))
   end
 
   defp tag_loaded?(tag) do

defmodule Mercator.PeerAssets.Repo do
  use GenServer
  require Logger

  alias Mercator.PeerAssets.Types.DeckSpawn


        PAprod: [],
        PAtest: []
       }
    end, name: @agent_name)
    # init the Repo
    init(:retry, true)
  end
