From d9d411b3775d4aa33717d5773d09469365d25882 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Thu, 5 Jun 2025 00:22:04 +0200 Subject: [PATCH] Rename unmatched route (from unknowns) --- api/src/controllers/videos.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/controllers/videos.ts b/api/src/controllers/videos.ts index ca98ab06..f596f119 100644 --- a/api/src/controllers/videos.ts +++ b/api/src/controllers/videos.ts @@ -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 },