Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/e-picsa/picsa-apps into ref…
Browse files Browse the repository at this point in the history
…actor/seasonal-calendar-data
  • Loading branch information
chrismclarke committed Jan 18, 2024
2 parents c6f405e + cb17b58 commit e117d64
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 e117d64

Please sign in to comment.