Compare commits
1 Commits
4ef8423ccd
...
92f8d967ed
Author | SHA1 | Date |
---|---|---|
Shadowfacts | 92f8d967ed |
|
@ -81,7 +81,7 @@ defmodule Frenzy.UpdateFeeds do
|
|||
name == "Location"
|
||||
end)
|
||||
|
||||
Logger.debug("Got 301 redirect from #{url} to #{new_url}, updating feed URL")
|
||||
Logger.debug("Got 301 redirect from #{feed.feed_url} to #{new_url}, updating feed URL")
|
||||
changeset = Feed.changeset(feed, %{feed_url: new_url})
|
||||
{:ok, feed} = Repo.insert(changeset)
|
||||
update_feed(feed)
|
||||
|
|
Loading…
Reference in New Issue