removed unnecesary previously included parameter 'message' on events

This commit is contained in:
joseji 2022-09-26 22:29:48 +02:00
parent 49378c64e2
commit 329e6f0893

View File

@ -299,7 +299,6 @@ export class Event {
public setEventUserCreateContributionMessage(ev: EventUserCreateContributionMessage): Event {
this.setByBasicCt(ev.userId, ev.contributionId, ev.amount)
if (ev.message) this.message = ev.message
this.type = EventProtocolType.USER_CREATE_CONTRIBUTION_MESSAGE
return this
@ -307,7 +306,6 @@ export class Event {
public setEventAdminCreateContributionMessage(ev: EventAdminCreateContributionMessage): Event {
this.setByBasicCt(ev.userId, ev.contributionId, ev.amount)
if (ev.message) this.message = ev.message
this.type = EventProtocolType.ADMIN_CREATE_CONTRIBUTION_MESSAGE
return this
@ -428,5 +426,4 @@ export class Event {
transactionId?: number
contributionId?: number
amount?: decimal
message?: string
}