Skip to content

Commit

Permalink
Refactor: Remove params from arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
fvdm committed Dec 29, 2021
1 parent 6739a5f commit be62c1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions searchitunes.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ module.exports = async ({
}

// Process request
delete options.parameters.timeout;
delete options.parameters.userAgent;

const res = await doRequest (options);

return httpResponse ({ res, first });
Expand Down

0 comments on commit be62c1a

Please sign in to comment.