mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[addon] fixes kitsu movie handler
This commit is contained in:
@@ -65,7 +65,7 @@ async function movieRecordsHandler(args) {
|
||||
if (args.id.match(/tt\d+/)) {
|
||||
return repository.getImdbIdMovieEntries(args.id);
|
||||
} else if (args.id.match(/kitsu:\d+/i)) {
|
||||
return repository.getKitsuIdMovieEntries(args.id.replace('kitsu:', ''), episode);
|
||||
return repository.getKitsuIdMovieEntries(args.id.replace('kitsu:', ''));
|
||||
}
|
||||
return Promise.reject(`Unsupported id type: ${args.id}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user