Skip to content

Commit 8617e3a

Browse files
committed
⚡ Update transito-refresh worker config --skip-ci
1 parent 3663175 commit 8617e3a

3 files changed

Lines changed: 2 additions & 9 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export type Env = {
1515
};
1616

1717
export default {
18-
async scheduled(controller: ScheduledController, env: Env, ctx: ExecutionContext) {
18+
async scheduled(event: ScheduledEvent, env: Env, ctx: ExecutionContext) {
1919
const res = await fetch(`${env.BASE_URL}/generate-json`, {
2020
method: 'POST',
2121
headers: {

workers/transito-refresh/src/wrangler.toml

Lines changed: 0 additions & 6 deletions
This file was deleted.

workers/transito-refresh/wrangler.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name = "transito-refresh"
2-
main = "src/worker.ts"
2+
main = "src/index.ts"
33
workers_dev = false
44
compatibility_date = "2024-10-05"
5-
compatibility_flags = ["nodejs_compat"]
65

76
[triggers]
87
crons = [ "0 19 * * SAT" ]

0 commit comments

Comments
 (0)