Format stuff

This commit is contained in:
Zoe Roux 2025-11-04 09:48:14 +01:00
parent 01177c2489
commit 03bb51661a
No known key found for this signature in database
3 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import { showsH } from "./controllers/shows/shows";
import { staffH } from "./controllers/staff";
import { studiosH } from "./controllers/studios";
import { videosReadH, videosWriteH } from "./controllers/videos";
import { KError } from "./models/error";
import type { KError } from "./models/error";
export const base = new Elysia({ name: "base" })
.onError(({ code, error }) => {

View File

@ -804,7 +804,7 @@ export const videosReadH = new Elysia({ prefix: "/videos", tags: ["videos"] })
422: KError,
},
},
)
);
export const videosWriteH = new Elysia({ prefix: "/videos", tags: ["videos"] })
.model({

View File

@ -59,6 +59,7 @@ async def background_startup(
_ = tg.create_task(scanner.monitor())
_ = tg.create_task(scan())
async def cancel():
raise CancelledError()