From 697bba07b9f15affa5a227d58a66da5c6fbc1781 Mon Sep 17 00:00:00 2001 From: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> Date: Tue, 9 Feb 2021 09:17:48 -0500 Subject: [PATCH] rename function --- packages/datastore/src/sync/outbox.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/datastore/src/sync/outbox.ts b/packages/datastore/src/sync/outbox.ts index d0aed256c03..87691d6e05e 100644 --- a/packages/datastore/src/sync/outbox.ts +++ b/packages/datastore/src/sync/outbox.ts @@ -88,7 +88,7 @@ class MutationEventOutbox { const head = await this.peek(storage); if (record) { - await this.reconcileOutboxOnDequeue(storage, record); + await this.syncOutboxVersionsOnDequeue(storage, record); } await storage.delete(head); @@ -139,7 +139,7 @@ class MutationEventOutbox { return result; } - private async reconcileOutboxOnDequeue( + private async syncOutboxVersionsOnDequeue( storage: StorageClass, record: PersistentModel ): Promise {