refactor!: migrate from REST API to GraphQL
- Replace OpenAPI/REST endpoints with a single route. - Remove and Swagger UI configuration. - Disable OpenAPI schema extensions in Zod types. - Refactor to be request-agnostic. - Update episode URL fetching to return standardized success/failure objects. - Update project dependencies.
This commit is contained in:
@@ -49,6 +49,9 @@ export class AnilistDurableObject extends DurableObject {
|
||||
{ id },
|
||||
token,
|
||||
);
|
||||
if (!anilistResponse) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Extract next airing episode for alarm
|
||||
const media = anilistResponse.Media as ResultOf<
|
||||
|
||||
Reference in New Issue
Block a user