Added conversion from MALAPI Manga to MALAPIManga

This commit is contained in:
ltctceplrm 2025-03-05 22:07:51 +01:00
parent cc30e60d92
commit 266bb99a31

View file

@ -66,6 +66,10 @@ export class PropertyMapper {
obj.type = 'comicManga';
console.debug(`MDB | updated metadata type`, obj.type);
}
if (obj.dataSource === 'MALAPI Manga') {
obj.dataSource = 'MALAPIManga';
console.debug(`MDB | updated metadata dataSource`, obj.type);
}
if (MEDIA_TYPES.contains(obj.type as any)) {
return obj;
}