mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Add userId to the ContributionMessage model.
This commit is contained in:
parent
3fbf8b6444
commit
4b9bdb0f15
@ -12,6 +12,7 @@ export class ContributionMessage {
|
||||
this.type = contributionMessage.type
|
||||
this.userFirstName = user.firstName
|
||||
this.userLastName = user.lastName
|
||||
this.userId = user.id
|
||||
}
|
||||
|
||||
@Field(() => Number)
|
||||
@ -34,6 +35,9 @@ export class ContributionMessage {
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
userLastName: string | null
|
||||
|
||||
@Field(() => Number, { nullable: true })
|
||||
userId: number | null
|
||||
}
|
||||
@ObjectType()
|
||||
export class ContributionMessageListResult {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user