This commit is contained in:
Tom Moor
2017-09-02 18:44:41 -07:00
parent 44e635cbc7
commit 95182057a6

View File

@ -31,7 +31,7 @@ async function present(ctx: Object, document: Document, options: ?Options) {
lastViewedAt: undefined, lastViewedAt: undefined,
team: document.teamId, team: document.teamId,
collaborators: [], collaborators: [],
starred: !!document.starred.length, starred: !!(document.starred && document.starred.length),
collaboratorCount: undefined, collaboratorCount: undefined,
collection: undefined, collection: undefined,
views: undefined, views: undefined,