feat: create route to be able to mark episode as watched

This commit is contained in:
2024-10-10 12:52:22 +02:00
parent 223c2f1e4c
commit 91dd250823
6 changed files with 197 additions and 18 deletions

View File

@@ -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"),