diff --git a/libs/shared/src/services/core/db_v2/db-sync.service.ts b/libs/shared/src/services/core/db_v2/db-sync.service.ts index 3c3552a7e..e5f02cb8f 100644 --- a/libs/shared/src/services/core/db_v2/db-sync.service.ts +++ b/libs/shared/src/services/core/db_v2/db-sync.service.ts @@ -146,7 +146,7 @@ export class PicsaDatabaseSyncService { }); const table = this.supabaseService.db.table(collection.name); const res = await table.upsert(records); - if (res.status === 201) { + if (res.status === 201 || res.status === 200) { // update local collection status where applicatble const successUpdate = docs .filter((d) => d._data._sync_push_status !== 'complete')