From 84d87bbee6a5bd3b8fa078070c62781bc543ce85 Mon Sep 17 00:00:00 2001 From: joseji Date: Fri, 7 Oct 2022 12:15:49 +0200 Subject: [PATCH] fixed wrong order on one method call parameters --- backend/src/event/Event.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/event/Event.ts b/backend/src/event/Event.ts index cec94e5bf..d86ddf15f 100644 --- a/backend/src/event/Event.ts +++ b/backend/src/event/Event.ts @@ -318,14 +318,14 @@ export class Event { } public setEventContributionConfirm(ev: EventContributionConfirm): Event { - this.setByBasicCtX(ev.userId, ev.xUserId, ev.xCommunityId, ev.contributionId, ev.amount) + this.setByBasicCtX(ev.userId, ev.contributionId, ev.amount, ev.xUserId, ev.xCommunityId) this.type = EventProtocolType.CONTRIBUTION_CONFIRM return this } public setEventContributionDeny(ev: EventContributionDeny): Event { - this.setByBasicCtX(ev.userId, ev.xUserId, ev.xCommunityId, ev.contributionId, ev.amount) + this.setByBasicCtX(ev.userId, ev.contributionId, ev.amount, ev.xUserId, ev.xCommunityId) this.type = EventProtocolType.CONTRIBUTION_DENY return this