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:
committed by
GitHub
parent
39ac6f352f
commit
553c10ac91
@@ -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(
|
||||
|
Reference in New Issue
Block a user