Use HTTP helper when refreshing feeds
This commit is contained in:
parent
b63081392c
commit
939470767b
@ -66,7 +66,7 @@ defmodule Frenzy.UpdateFeeds do
|
||||
defp update_feed(feed) do
|
||||
Logger.debug("Updating #{feed.feed_url}")
|
||||
|
||||
case HTTPoison.get(feed.feed_url) do
|
||||
case HTTP.get(feed.feed_url) do
|
||||
{:ok,
|
||||
%HTTPoison.Response{
|
||||
status_code: 200,
|
||||
|
Loading…
x
Reference in New Issue
Block a user