diff --git a/CHANGELOG.md b/CHANGELOG.md index 17604126e..4fc71e89f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ changes. ### Fixed - Fix CIP-129 DRep view identifier for script based DReps [Issue 2583](https://github.com/IntersectMBO/govtool/issues/2583) +- Fix fetching metadata from IPFS gateway - Fix bad request on passing the random sorting to GA list request [Issue 2535](https://github.com/IntersectMBO/govtool/issues/2535) - Fix wrong drep activity conditions diff --git a/govtool/metadata-validation/src/app.service.ts b/govtool/metadata-validation/src/app.service.ts index 8955db611..a44669a89 100644 --- a/govtool/metadata-validation/src/app.service.ts +++ b/govtool/metadata-validation/src/app.service.ts @@ -32,6 +32,8 @@ export class AppService { this.httpService .get(url, { headers: { + // Required to not being blocked by APIs that require a User-Agent + 'User-Agent': 'GovTool/Metadata-Validation-Tool', 'Content-Type': 'application/json', ...(isIPFS && process.env.IPFS_PROJECT_ID && {