diff --git a/src/app/api/system/branding/route.ts b/src/app/api/system/branding/route.ts index e4be3b9..6d7fd7f 100644 --- a/src/app/api/system/branding/route.ts +++ b/src/app/api/system/branding/route.ts @@ -14,8 +14,7 @@ export const runtime = "nodejs"; export const dynamic = "force-dynamic"; const MAX_BYTES = 512 * 1024; -const KINDS = ["logo", "favicon"] as const; -type Kind = (typeof KINDS)[number]; +type Kind = "logo" | "favicon"; const MIME_TO_EXT: Record = { "image/png": "png", "image/jpeg": "jpg", diff --git a/src/lib/server/backupScheduler.test.ts b/src/lib/server/backupScheduler.test.ts index a3bcfde..43a1bb5 100644 --- a/src/lib/server/backupScheduler.test.ts +++ b/src/lib/server/backupScheduler.test.ts @@ -15,7 +15,7 @@ const { getSystemConfig, saveSystemConfig, resetSystemConfigCacheForTests } = await import("./systemConfig"); const HOUR = 3600_000; -let now = 1_800_000_000_000; +const now = 1_800_000_000_000; describe("backupScheduler.tickBackupSchedule", () => { beforeEach(() => {