Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/fix jsonpath import (#4115)

Edfebb4119c661
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 89651095b5..758e93ced7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Upgraded `@internationalized/number` from version `3.5.2` to `3.6.0`
+### Fixed
+
+- Fixed the import of `jsonpath` to support REST APIs (`JSON`) via the scraper configuration
+
## 2.127.0 - 2024-12-08
### Added
diff --git a/apps/api/src/services/data-provider/manual/manual.service.ts b/apps/api/src/services/data-provider/manual/manual.service.ts
index 30c7efa6a3..c3e274005e 100644
--- a/apps/api/src/services/data-provider/manual/manual.service.ts
+++ b/apps/api/src/services/data-provider/manual/manual.service.ts
@@ -29,7 +29,7 @@ import * as cheerio from 'cheerio';
import { isUUID } from 'class-validator';
import { addDays, format, isBefore } from 'date-fns';
import got, { Headers } from 'got';
-import jsonpath from 'jsonpath';
+import * as jsonpath from 'jsonpath';
@Injectable()
export class ManualService implements DataProviderInterface {