mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Add constructor to ContributionListResult.
This commit is contained in:
parent
b7c2497839
commit
7c698de325
@ -35,6 +35,11 @@ export class Contribution {
|
||||
|
||||
@ObjectType()
|
||||
export class ContributionListResult {
|
||||
constructor(count: number, list: Contribution[]) {
|
||||
this.linkCount = count
|
||||
this.linkList = list
|
||||
}
|
||||
|
||||
@Field(() => Int)
|
||||
linkCount: number
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user