added a todo item

This commit is contained in:
Jori Lallo 2016-05-30 12:37:07 -07:00
parent 5ffa61791b
commit f79285a51e

View File

@ -8,6 +8,7 @@ import { Document, Atlas } from '../models';
const router = new Router();
// FIXME: This really needs specs :/
router.post('documents.info', auth({ require: false }), async (ctx) => {
let { id } = ctx.request.body;
ctx.assertPresent(id, 'id is required');