Skip to content

Commit

Permalink
fix(works): fix jobs order
Browse files Browse the repository at this point in the history
  • Loading branch information
frank.gairal committed Nov 23, 2017
1 parent 6d5f0f1 commit 964688a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/works.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 964688a

Please sign in to comment.