fetch data before reload
This commit is contained in:
parent
e374779c19
commit
d817c30d46
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue