Skip to content

Commit

Permalink
Merge branch 'main' into ft-budget-detailed-summary
Browse files Browse the repository at this point in the history
  • Loading branch information
OchiengPaul442 committed Jan 19, 2024
2 parents 0f6a5d5 + cb17b58 commit 63ced18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/shared/src/services/core/db_v2/db-sync.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 63ced18

Please sign in to comment.