diff --git a/01-hello/src/entry.py b/01-hello/src/entry.py index 1938022..8bdd647 100644 --- a/01-hello/src/entry.py +++ b/01-hello/src/entry.py @@ -2,5 +2,5 @@ class Default(WorkerEntrypoint): - async def fetch(self, request, env): + async def fetch(self, request): return Response("Hello world!") diff --git a/08-cron/src/entry.py b/08-cron/src/entry.py index a8e59b3..41dd5f4 100644 --- a/08-cron/src/entry.py +++ b/08-cron/src/entry.py @@ -3,7 +3,7 @@ class Default(WorkerEntrypoint): # runs based on "triggers" in wrangler config - async def scheduled(self, controller, env, ctx): + async def scheduled(self, controller): print("Scheduled task has been executed.") async def fetch(self):