fixed wrong order on one method call parameters

This commit is contained in:
joseji 2022-10-07 12:15:49 +02:00
parent 0ddd08d1e1
commit 84d87bbee6

View File

@ -318,14 +318,14 @@ export class Event {
} }
public setEventContributionConfirm(ev: EventContributionConfirm): 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 this.type = EventProtocolType.CONTRIBUTION_CONFIRM
return this return this
} }
public setEventContributionDeny(ev: EventContributionDeny): Event { 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 this.type = EventProtocolType.CONTRIBUTION_DENY
return this return this