Reverted MALAPIManga rename
This commit is contained in:
parent
266bb99a31
commit
666ca1e93b
2 changed files with 4 additions and 5 deletions
|
|
@ -12,7 +12,7 @@ export class MALAPIManga extends APIModel {
|
|||
super();
|
||||
|
||||
this.plugin = plugin;
|
||||
this.apiName = 'MALAPIManga';
|
||||
this.apiName = 'MALAPI Manga';
|
||||
this.apiDescription = 'A free API for Manga. Some results may take a long time to load.';
|
||||
this.apiUrl = 'https://jikan.moe/';
|
||||
this.types = [MediaType.ComicManga];
|
||||
|
|
@ -126,4 +126,7 @@ export class MALAPIManga extends APIModel {
|
|||
},
|
||||
});
|
||||
}
|
||||
getDisabledMediaTypes(): MediaType[] {
|
||||
return this.plugin.settings.MALAPIManga_disabledMediaTypes as MediaType[];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,10 +66,6 @@ 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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue