Rename unmatched route (from unknowns)

This commit is contained in:
Zoe Roux 2025-06-05 00:22:04 +02:00
parent be4b4f016b
commit d9d411b377
No known key found for this signature in database

View File

@ -119,7 +119,7 @@ export const videosH = new Elysia({ prefix: "/videos", tags: ["videos"] })
},
)
.get(
"unknowns",
"unmatched",
async ({ query: { sort, query, limit, after }, request: { url } }) => {
const ret = await db
.select()
@ -146,7 +146,7 @@ export const videosH = new Elysia({ prefix: "/videos", tags: ["videos"] })
return createPage(ret, { url, sort, limit });
},
{
detail: { description: "Get unknown/unmatch videos." },
detail: { description: "Get unknown/unmatched videos." },
query: t.Object({
sort: Sort(
{ createdAt: videos.createdAt, path: videos.path },