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);