Ver código fonte

fetch data before reload

danilo silva 4 anos atrás
pai
commit
d817c30d46
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      lib/podcast_feed/boundary/archive_server.ex

+ 1 - 0
lib/podcast_feed/boundary/archive_server.ex

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