Skip to content

Commit

Permalink
fix: remove custom User-Agent
Browse files Browse the repository at this point in the history
  • Loading branch information
dantio committed Aug 26, 2021
1 parent 577d740 commit 86cde05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ export class AxiosRequest implements IEBayApiRequest {
constructor(config: AxiosRequestConfig = {}) {
this.instance = axios.create({
headers: {
...defaultGlobalHeaders,
'User-Agent': 'hendt-ebay-api/' + process.env.npm_package_version,
...defaultGlobalHeaders
},
...config
});
Expand Down

0 comments on commit 86cde05

Please sign in to comment.