Prevents accidental overwriting of another users work

This commit is contained in:
Tom Moor
2017-11-25 13:04:54 -08:00
parent 7945abbe54
commit 98f317c74a
6 changed files with 36 additions and 2 deletions

View File

@ -36,6 +36,7 @@ async function present(ctx: Object, document: Document, options: ?Options) {
team: document.teamId,
collaborators: [],
starred: !!(document.starred && document.starred.length),
revision: document.revisionCount,
collectionId: document.atlasId,
collaboratorCount: undefined,
collection: undefined,