From d7dacd0cd3c14f7917e136808846c9fbdaf79be0 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 25 Oct 2023 21:29:42 -0400 Subject: [PATCH] test --- app/stores/DocumentsStore.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) => {