feat: create route to be able to mark episode as watched
This commit is contained in:
@@ -34,7 +34,7 @@ export async function fetchTitleFromAnilist(
|
||||
if (error.message.includes("Not Found")) {
|
||||
return undefined;
|
||||
}
|
||||
if (error.response.status === 429) {
|
||||
if (error.response?.status === 429) {
|
||||
console.log(
|
||||
"429, retrying in",
|
||||
error.response.headers.get("Retry-After"),
|
||||
|
||||
Reference in New Issue
Block a user