From d4b1b533d1fc6ce3116bf3ac9b8901afafe56413 Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Thu, 2 Jun 2016 22:04:33 -0700 Subject: [PATCH] MobX based editing --- server/api/documents.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/api/documents.js b/server/api/documents.js index 9a02389b5..d4596c25b 100644 --- a/server/api/documents.js +++ b/server/api/documents.js @@ -28,6 +28,7 @@ router.post('documents.info', auth({ require: false }), async (ctx) => { throw httpErrors.NotFound(); } + ctx.body = { data: await presentDocument(document, true), };