Bugfix/fix issue with MIME type detection in scraper configuration (#4237)

* Fix issue with MIME type detection in scraper configuration

* Update changelog
This commit is contained in:
Miguel Borges de Freitas
2025-01-22 18:55:09 +00:00
committed by GitHub
parent 39ac6f352f
commit 553c10ac91
2 changed files with 5 additions and 1 deletions

View File

@@ -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(