diff --git a/src/stores/admin/club/protocol/protocolAgenda.ts b/src/stores/admin/club/protocol/protocolAgenda.ts index 1341b84..d9c7a35 100644 --- a/src/stores/admin/club/protocol/protocolAgenda.ts +++ b/src/stores/admin/club/protocol/protocolAgenda.ts @@ -71,7 +71,7 @@ export const useProtocolAgendaStore = defineStore("protocolAgenda", { await http .patch(`/admin/protocol/${protocolId}/synchronize/agenda`, { - agenda: differenceWith(this.agenda, this.origin, isEqual), + agenda: this.agenda, }) .then((res) => { this.syncingProtocolAgenda = "synced"; diff --git a/src/stores/admin/club/protocol/protocolDecision.ts b/src/stores/admin/club/protocol/protocolDecision.ts index 33b4da9..93a9f8c 100644 --- a/src/stores/admin/club/protocol/protocolDecision.ts +++ b/src/stores/admin/club/protocol/protocolDecision.ts @@ -72,7 +72,7 @@ export const useProtocolDecisionStore = defineStore("protocolDecision", { await http .patch(`/admin/protocol/${protocolId}/synchronize/decisions`, { - decisions: differenceWith(this.decision, this.origin, isEqual), + decisions: this.decision, }) .then((res) => { this.syncingProtocolDecision = "synced"; diff --git a/src/stores/admin/club/protocol/protocolVoting.ts b/src/stores/admin/club/protocol/protocolVoting.ts index 6b75c04..7de5a58 100644 --- a/src/stores/admin/club/protocol/protocolVoting.ts +++ b/src/stores/admin/club/protocol/protocolVoting.ts @@ -75,7 +75,7 @@ export const useProtocolVotingStore = defineStore("protocolVoting", { await http .patch(`/admin/protocol/${protocolId}/synchronize/votings`, { - votings: differenceWith(this.voting, this.origin, isEqual), + votings: this.voting, }) .then((res) => { this.syncingProtocolVoting = "synced";