Skip to content

Commit

Permalink
fix(api-server): properly implement next api call (#2505)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bugjuice58 authored Oct 15, 2024
1 parent 3a4cbc5 commit 2173ba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/api-server/backend/routes/control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2173ba0

Please sign in to comment.