Skip to content

Commit

Permalink
Remove User-Agent param from stub_inat_api_request
Browse files Browse the repository at this point in the history
Thought I removed it earlier.
I think this will fix the CI failure
  • Loading branch information
JoeCohen committed Aug 16, 2024
1 parent 2fa8b02 commit 2b307d9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,7 @@ def stub_inat_api_request(inat_obs_ids, mock_inat_response, id_above: 0,
{ "Accept" => "application/json",
"Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3",
"Authorization" => "Bearer",
"Host" => "api.inaturalist.org",
"User-Agent" => "rest-client/2.1.0 (darwin23 x86_64) ruby/3.3.0p0" }).
"Host" => "api.inaturalist.org" }).
to_return(body: mock_inat_response)
end

Expand Down

0 comments on commit 2b307d9

Please sign in to comment.