Merged comic book models with manga models into comicmanga model
Updated both MALAPI Manga and ComicVine API to be more consistent with eachother.
This commit is contained in:
parent
01b56c9be5
commit
a07e549ea4
8 changed files with 128 additions and 93 deletions
|
|
@ -62,7 +62,12 @@ export class PropertyMapper {
|
|||
return obj;
|
||||
}
|
||||
|
||||
if (MEDIA_TYPES.contains(obj.type as any)) {
|
||||
|
||||
if (obj.type === "manga") {
|
||||
obj.type = "comicManga";
|
||||
console.debug(`MDB | updated metadata type`, obj.type);
|
||||
}
|
||||
if (MEDIA_TYPES.contains(obj.type as any)) {
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue