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), };