Skip to content

Commit

Permalink
fix ricardo
Browse files Browse the repository at this point in the history
  • Loading branch information
okkdev committed Nov 19, 2024
1 parent 1dd543d commit de81833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chuko/api/ricardo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ defmodule Chuko.Api.Ricardo do
(@url_api <> query)
|> URI.encode()
|> Req.get!(put_in(options[:params][:page], page))
|> then(fn %Req.Response{body: body} -> body["results"] end)
|> then(fn %Req.Response{body: body} -> body["articles"] end)
end,
timeout: 30_000
)
Expand Down

0 comments on commit de81833

Please sign in to comment.