Skip to content

Commit

Permalink
Merge pull request #17 from snyk-tech-services/fix/request-user-agent
Browse files Browse the repository at this point in the history
fix: update user-agent string for snyk-request-manager
  • Loading branch information
aarlaud committed Jun 15, 2020
2 parents 6308ab2 + 7460550 commit a72e834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/request/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const makeSnykRequest = async (request: snykRequest, snykToken: string = '') =>
const requestHeaders: Object = {
'Content-Type': 'application/json',
'Authorization': 'token '+ token,
'User-Agent': 'tech-services/snyk-prevent/1.0'
'User-Agent': 'tech-services/snyk-request-manager/1.0'
}
const apiClient = axios.create({
baseURL: userConfig.endpoint,
Expand Down

0 comments on commit a72e834

Please sign in to comment.