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:
@@ -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",
|
||||
|
||||
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user