Skip to content

Commit

Permalink
no caching
Browse files Browse the repository at this point in the history
  • Loading branch information
natlibfi-jonollil committed Mar 15, 2024
1 parent c89cba9 commit 9a3d71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default ({
async function processRequest(startRecord) {
const url = generateUrl({operation: 'searchRetrieve', query, startRecord, recordSchema, version, maximumRecords: maxRecordsPerRequest});
debug(`Sending request-${iteration}: ${url.toString()}`);
const response = await fetch(url);
const response = await fetch(url, {headers: {"Cache-control": "no-cache"}});

Check failure on line 60 in src/index.js

View workflow job for this annotation

GitHub Actions / Node version matrix (18.x)

Strings must use singlequote

Check failure on line 60 in src/index.js

View workflow job for this annotation

GitHub Actions / Node version matrix (18.x)

Strings must use singlequote

Check failure on line 60 in src/index.js

View workflow job for this annotation

GitHub Actions / Node version matrix (20.x)

Strings must use singlequote

Check failure on line 60 in src/index.js

View workflow job for this annotation

GitHub Actions / Node version matrix (20.x)

Strings must use singlequote
debugData(response.status);
debugData(JSON.stringify(response));

Expand Down

0 comments on commit 9a3d71d

Please sign in to comment.