Skip to content

Commit

Permalink
Refactor: Use new X-Api-Key header (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
fvdm authored Dec 14, 2023
1 parent 2a4f868 commit 5040059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion europeana.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ module.exports = class Europeana {
headers: {
'Accept': 'application/json',
'User-Agent': 'nodejs-europeana',
'X-Api-Key': this._config.wskey,
},
};

parameters.wskey = this._config.wskey;
parameters = new URLSearchParams (parameters);
url += '?' + parameters;

Expand Down

0 comments on commit 5040059

Please sign in to comment.