Skip to content

Commit 2173ba0

Browse files
authored
fix(api-server): properly implement next api call (#2505)
1 parent 3a4cbc5 commit 2173ba0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/api-server/backend/routes/control.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ export const register = (
309309
ctx.status(204);
310310
return ctx.body(null);
311311
});
312-
app.openapi(routes.previous, (ctx) => {
313-
controller.previous();
312+
app.openapi(routes.next, (ctx) => {
313+
controller.next();
314314

315315
ctx.status(204);
316316
return ctx.body(null);

0 commit comments

Comments
 (0)