refactor: Replace generic AnilistDurableObject fetch endpoint with dedicated methods and update their usage.
This commit is contained in:
@@ -70,7 +70,7 @@ app.doc("/openapi.json", {
|
||||
app.get("/docs", swaggerUI({ url: "/openapi.json" }));
|
||||
|
||||
export default {
|
||||
...app,
|
||||
fetch: app.fetch,
|
||||
async queue(batch) {
|
||||
switch (batch.queue as QueueName) {
|
||||
case "ANILIST_UPDATES":
|
||||
|
||||
Reference in New Issue
Block a user