mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
parent
9eeafb8c15
commit
7c37f5d8b6
19 changed files with 101 additions and 116 deletions
|
|
@ -24,9 +24,7 @@ export default defineTask({
|
|||
.bind(now - DELIVERY_STATE_RETENTION_MS)
|
||||
.run();
|
||||
removed += delivery.meta?.changes ?? 0;
|
||||
const messages = await env.DB.prepare(
|
||||
"DELETE FROM message_tracking WHERE updated_at < ?",
|
||||
)
|
||||
const messages = await env.DB.prepare("DELETE FROM message_tracking WHERE updated_at < ?")
|
||||
.bind(now - MESSAGE_TRACKING_RETENTION_MS)
|
||||
.run();
|
||||
removed += messages.meta?.changes ?? 0;
|
||||
|
|
@ -37,4 +35,4 @@ export default defineTask({
|
|||
return { result: "error" };
|
||||
}
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue