Skip to content

Commit

Permalink
Remove setting the user-agent header.
Browse files Browse the repository at this point in the history
  • Loading branch information
wparad committed Aug 21, 2023
1 parent c0d534d commit 08216c0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/httpClient.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
const axios = require('axios');
const packageData = require('../package.json');

const defaultHeaders = {
'Content-Type': 'application/json',
'User-Agent': `Authress Javascript Login SDK; ${packageData.version}`
'Content-Type': 'application/json'
};

async function retryExecutor(func) {
Expand Down

0 comments on commit 08216c0

Please sign in to comment.