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 4 weeks ago committed by GitHub
parent 39ac6f352f
commit 553c10ac91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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 `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
### 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 value = String(

Loading…
Cancel
Save