Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
use default options
Browse files Browse the repository at this point in the history
  • Loading branch information
Alif Rachmawadi committed Aug 2, 2019
1 parent ded5207 commit 7097316
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/winter/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,7 @@ const sendRequest = (
const client = axios.create(options);
createAuthRefreshInterceptor(
client,
refreshInterceptor(env, environment.auth.options),
{ statusCodes: [401, 422] }
refreshInterceptor(env, environment.auth.options)
);

return client.request({
Expand Down

0 comments on commit 7097316

Please sign in to comment.