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,
team: document.teamId,
collaborators: [],
starred: !!document.starred.length,
starred: !!(document.starred && document.starred.length),
collaboratorCount: undefined,
collection: undefined,
views: undefined,