chore: auto-fix lint & formatting [skip ci]

This commit is contained in:
github-actions[bot] 2026-08-17 07:51:36 +00:00
parent 9eeafb8c15
commit 7c37f5d8b6
19 changed files with 101 additions and 116 deletions

View file

@ -66,4 +66,4 @@ export function deliveryKey(
deliveryId: string,
): string {
return `delivery:${provider}:${groupId ?? "global"}:${deliveryId}`;
}
}

View file

@ -56,4 +56,4 @@ export function d1MessageTracker(db: D1Database): MessageTracker {
export function messageTracker(db: D1Database, kv: KVNamespace): MessageTracker {
return canUseD1(db) ? d1MessageTracker(db) : kvMessageTracker(kv);
}
}

View file

@ -1,10 +1,7 @@
import type { SendRecord } from "./send-log";
import { log } from "./log";
export async function recordSendBatch(
db: D1Database,
records: SendRecord[],
): Promise<void> {
export async function recordSendBatch(db: D1Database, records: SendRecord[]): Promise<void> {
if (records.length === 0) return;
try {
const stmts = records.map((r) =>
@ -38,4 +35,4 @@ export async function recordSendBatch(
} catch (err) {
log.warn({ err, count: records.length }, "Failed to record send log batch");
}
}
}