perf: Remove collaborators from documents.list response (#2039)

* fix: Remove unused, unperformant query

* lint

* collaborators -> collaboratorIds
This commit is contained in:
Tom Moor
2021-04-15 22:49:16 -07:00
committed by GitHub
parent c5401a467d
commit 940ad8479e
2 changed files with 4 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ export default class Document extends BaseModel {
@observable lastViewedAt: ?string;
store: DocumentsStore;
collaborators: User[];
collaboratorIds: string[];
collectionId: string;
createdAt: string;
createdBy: User;