fix: default to english title when searching aniwatch
This commit is contained in:
@@ -8,7 +8,7 @@ export async function getEpisodesFromAniwatch(
|
||||
.then(({ fetchTitleFromAnilist }) =>
|
||||
fetchTitleFromAnilist(aniListId, undefined),
|
||||
)
|
||||
.then((title) => title?.title?.userPreferred ?? title?.title?.english);
|
||||
.then((title) => title?.title?.english ?? title?.title?.userPreferred);
|
||||
|
||||
if (!animeTitle) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user