Moved to using GET and caching with SW

This commit is contained in:
Jori Lallo
2016-07-22 00:11:54 -07:00
parent 2669b27a08
commit e2c69903b3
9 changed files with 31 additions and 15 deletions

View File

@ -16,7 +16,7 @@ router.post('user.info', auth(), async (ctx) => {
});
router.post('user.s3Upload', auth(), async (ctx) => {
let { filename, kind, size } = ctx.request.body;
let { filename, kind, size } = ctx.body;
ctx.assertPresent(filename, 'filename is required');
ctx.assertPresent(kind, 'kind is required');
ctx.assertPresent(size, 'size is required');
@ -46,4 +46,4 @@ router.post('user.s3Upload', auth(), async (ctx) => {
}};
});
export default router;
export default router;