fix(api-server): properly implement next api call (#2505)

This commit is contained in:
Kyū
2024-10-14 22:34:19 -06:00
committed by GitHub
parent 3a4cbc543b
commit 2173ba0234

View File

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