Skip to content

Commit

Permalink
Refactor: Use new X-Api-Key header
Browse files Browse the repository at this point in the history
  • Loading branch information
fvdm committed Dec 14, 2023
1 parent 2a4f868 commit 9367e1d
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 9367e1d

Please sign in to comment.