Skip to content

Commit

Permalink
Added api versining header
Browse files Browse the repository at this point in the history
  • Loading branch information
lfraile authored Apr 10, 2020
1 parent 22c2a85 commit 9a6ed0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ async function rollOffFeature(esquioUrl: url.UrlWithStringQuery, esquioApiKey: s
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'x-api-key': esquioApiKey
'x-api-key': esquioApiKey,
'x-api-version': '2.0'
}
}
console.log(`url to call ${esquioUrl.host} ${options.path}`);
Expand Down

0 comments on commit 9a6ed0a

Please sign in to comment.