fix: updatedBy incorrect in documents.update response

This commit is contained in:
Tom Moor
2020-06-12 00:18:38 -07:00
parent 1d8c3f3faf
commit d25a9d56dc
2 changed files with 7 additions and 4 deletions

View File

@ -864,6 +864,7 @@ router.post('documents.update', auth(), async ctx => {
});
}
document.updatedBy = user;
document.collection = collection;
ctx.body = {