Skip to content

Commit

Permalink
refactor: removes unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
tuliomir committed Aug 20, 2024
1 parent cf05262 commit f38cf8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api/customAxiosInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ import hathorLib from '@hathor/wallet-lib';
* Create an axios instance to be used when sending requests
*
* @param {callback} resolve Callback to be stored and used in case of a retry after a fail
* @param {number} [_timeout] Timeout in milliseconds for the request
*/
const createRequestInstance = (resolve, _timeout) => {
const createRequestInstance = resolve => {
// Will override lib axios instance increasing the default request timeout
const instance = hathorLib.axios.defaultCreateRequestInstance(resolve, 30000);
return instance;
Expand Down

0 comments on commit f38cf8e

Please sign in to comment.