From 32fb35941a2ad72740d3804ab692db81686bc8a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jan=20Niemier?= Date: Tue, 22 Sep 2020 18:18:11 +0200 Subject: [PATCH] fix(cache): add missing argument to `erase/1` It fixes the error on calling `OpenApiSpex.Plug.Cache.reload()` --- lib/open_api_spex/plug/cache.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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