Browse Source
Bugfix/fix issue with MIME type detection in scraper configuration (#4237)
* Fix issue with MIME type detection in scraper configuration
* Update changelog
pull/4245/head
Miguel Borges de Freitas
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/services/data-provider/manual/manual.service.ts
|
@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
- Upgraded `date-fns` from version `3.6.0` to `4.1.0` |
|
|
- Upgraded `date-fns` from version `3.6.0` to `4.1.0` |
|
|
- Upgraded `rxjs` from version `7.5.6` to `7.8.1` |
|
|
- Upgraded `rxjs` from version `7.5.6` to `7.8.1` |
|
|
|
|
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
|
|
|
|
- Fixed an issue with the MIME type detection in the scraper configuration |
|
|
|
|
|
|
|
|
## 2.135.0 - 2025-01-19 |
|
|
## 2.135.0 - 2025-01-19 |
|
|
|
|
|
|
|
|
### Changed |
|
|
### Changed |
|
|
|
@ -282,7 +282,7 @@ export class ManualService implements DataProviderInterface { |
|
|
) |
|
|
) |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
if (response.headers['content-type']?.includes('application/json')) { |
|
|
if (response.headers.get('content-type')?.includes('application/json')) { |
|
|
const data = await response.json(); |
|
|
const data = await response.json(); |
|
|
|
|
|
|
|
|
const value = String( |
|
|
const value = String( |
|
|