Skip to content

Commit de81833

Browse files
committed
fix ricardo
1 parent 1dd543d commit de81833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/chuko/api/ricardo.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ defmodule Chuko.Api.Ricardo do
3636
(@url_api <> query)
3737
|> URI.encode()
3838
|> Req.get!(put_in(options[:params][:page], page))
39-
|> then(fn %Req.Response{body: body} -> body["results"] end)
39+
|> then(fn %Req.Response{body: body} -> body["articles"] end)
4040
end,
4141
timeout: 30_000
4242
)

0 commit comments

Comments
 (0)