diff --git a/lib/open_api_spex/plug/cache.ex b/lib/open_api_spex/plug/cache.ex index 2507fe51..f612cb28 100644 --- a/lib/open_api_spex/plug/cache.ex +++ b/lib/open_api_spex/plug/cache.ex @@ -50,7 +50,7 @@ defmodule OpenApiSpex.Plug.Cache do @spec refresh() :: :ok def refresh do adapter = adapter() - adapter.erase() + adapter.erase(adapter) end end