mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-12-06 06:36:25 +00:00
Format stuff
This commit is contained in:
@@ -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 }) => {
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -59,6 +59,7 @@ async def background_startup(
|
||||
_ = tg.create_task(scanner.monitor())
|
||||
_ = tg.create_task(scan())
|
||||
|
||||
|
||||
async def cancel():
|
||||
raise CancelledError()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user