Working share link loading (plenty of restrictions still to put in place)

This commit is contained in:
Tom Moor
2018-05-16 23:52:26 -07:00
parent 4266020315
commit 187c2dcb27
4 changed files with 33 additions and 38 deletions

View File

@@ -172,6 +172,8 @@ router.post('documents.info', auth({ required: false }), async ctx => {
},
],
});
// TODO: REMOVE COLLECTION AND COLLABORATOR INFO
document = share.document;
} else {
document = await Document.findById(id);