Request time cache, tracking collaborators etc

This commit is contained in:
Jori Lallo
2016-08-15 12:51:26 +02:00
parent 94e39d74bf
commit 11f6c533b8
15 changed files with 141 additions and 33 deletions

View File

@ -11,7 +11,7 @@ import { presentUser } from '../presenters';
const router = new Router();
router.post('user.info', auth(), async (ctx) => {
ctx.body = { data: await presentUser(ctx.state.user) };
ctx.body = { data: await presentUser(ctx, ctx.state.user) };
});
router.post('user.s3Upload', auth(), async (ctx) => {