Skip to content

Commit

Permalink
fix: request options
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpascal committed May 5, 2024
1 parent 8bfbbac commit ab4ef05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const withCookieSession = (options) => {
};

const _request = (method) => (...args) => {
const requestOptions = withCookieSession(args[0]);
const requestOptions = withCookieSession(...args);
return retry(() => rpn[method](requestOptions), { retries: 5, randomize: false, factor: 1.5 });
};

Expand Down

0 comments on commit ab4ef05

Please sign in to comment.