fetch data before reload

This commit is contained in:
danilo silva 2020-06-07 21:10:40 +00:00
parent e374779c19
commit d817c30d46

View file

@ -31,6 +31,7 @@ defmodule PodcastFeed.Boundary.ArchiveServer do
end end
def reload(identifier) do def reload(identifier) do
cache_or_fetch(identifier)
GenServer.call(via(identifier), :reload) GenServer.call(via(identifier), :reload)
end end