feat: create route to search for titles
Summary: Test Plan:
This commit is contained in:
@@ -5,7 +5,7 @@ export async function fetchTitleFromAmvstrm(
|
||||
): Promise<Title | undefined> {
|
||||
return Promise.all([
|
||||
fetch(`https://api-amvstrm.nyt92.eu.org/api/v2/info/${aniListId}`).then(
|
||||
(res) => res.json() as Promise<any>,
|
||||
(res) => res.json<any>(),
|
||||
),
|
||||
fetchMissingInformationFromAnify(aniListId).catch((err) => {
|
||||
console.error("Failed to get missing information from Anify", err);
|
||||
|
||||
Reference in New Issue
Block a user