From 2173ba023427db69667a3aa6e8558519d5fcfd3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C5=AB?= Date: Mon, 14 Oct 2024 22:34:19 -0600 Subject: [PATCH] fix(api-server): properly implement next api call (#2505) --- src/plugins/api-server/backend/routes/control.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/api-server/backend/routes/control.ts b/src/plugins/api-server/backend/routes/control.ts index 35d18beec6..ad395adc26 100644 --- a/src/plugins/api-server/backend/routes/control.ts +++ b/src/plugins/api-server/backend/routes/control.ts @@ -309,8 +309,8 @@ export const register = ( ctx.status(204); return ctx.body(null); }); - app.openapi(routes.previous, (ctx) => { - controller.previous(); + app.openapi(routes.next, (ctx) => { + controller.next(); ctx.status(204); return ctx.body(null);