diff --git a/app/stores/DocumentsStore.ts b/app/stores/DocumentsStore.ts index 01555b5bf..6921dbd49 100644 --- a/app/stores/DocumentsStore.ts +++ b/app/stores/DocumentsStore.ts @@ -714,15 +714,15 @@ export default class DocumentsStore extends Store { }; @action - update = async ( + async update( params: Partial, options?: Record - ): Promise => { + ): Promise { const document = await super.update(params, options); const collection = this.getCollectionForDocument(document); void collection?.fetchDocuments({ force: true }); return document; - }; + } @action unpublish = async (document: Document) => {