diff --git a/src/routes/works.js b/src/routes/works.js index 82dbdcf..9e87ac6 100644 --- a/src/routes/works.js +++ b/src/routes/works.js @@ -22,7 +22,7 @@ const router = new Router({ prefix: '/works' }); */ router.get('/', async (ctx) => { try { - const result = await ctx.db.getAll('work', false, 'date_in'); + const result = await ctx.db.getAll('work', true, 'date_in'); ctx.body = result; } catch (err) { utils.log(ctx, err);