~ihabunek/harvey

a553bb227167c01dd1169f83d535cd3c21e56ceb — Ivan Habunek 9 months ago 0f961f4
Fix warning
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/harvey/providers/links.ex
M lib/harvey/providers/links.ex => lib/harvey/providers/links.ex +1 -1
@@ 66,7 66,7 @@ defmodule Harvey.Providers.Links do
    |> Keyword.get_values(category)
    |> Enum.flat_map(fn category_id ->
      body = query_data(category_id)
      response = Http.post!(url, body: body, headers: headers, follow_redirects: false)
      response = Http.post!(url, body: body, headers: headers, redirect: false)
      if response.status != 200, do: raise("Invalid response status: #{response.status}")
      parse_response(response.body)
    end)