fix(webui): clean up eslint errors in branding route and backup scheduler test

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
m4
2026-08-11 12:21:42 +08:00
parent ae32cc72df
commit 6d0251a673
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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<string, string> = {
"image/png": "png",
"image/jpeg": "jpg",
+1 -1
View File
@@ -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(() => {