mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fixed wrong non mandatory attributes
This commit is contained in:
parent
903fd4446e
commit
4853eea32a
@ -392,16 +392,16 @@ export class Event {
|
||||
|
||||
setByBasicCtX(
|
||||
userId: number,
|
||||
xUserId?: number,
|
||||
xCommunityId?: number,
|
||||
contributionId?: number,
|
||||
amount?: decimal,
|
||||
xUserId: number,
|
||||
xCommunityId: number,
|
||||
contributionId: number,
|
||||
amount: decimal,
|
||||
): Event {
|
||||
this.setByBasicUser(userId)
|
||||
if (xUserId) this.xUserId = xUserId
|
||||
if (xCommunityId) this.xCommunityId = xCommunityId
|
||||
if (contributionId) this.contributionId = contributionId
|
||||
if (amount) this.amount = amount
|
||||
this.xUserId = xUserId
|
||||
this.xCommunityId = xCommunityId
|
||||
this.contributionId = contributionId
|
||||
this.amount = amount
|
||||
|
||||
return this
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user