Change linkCount to contributionCount and linkList to contributionList.

This commit is contained in:
elweyn 2022-07-18 11:31:04 +02:00
parent 93c2d6814a
commit 495fbfd05c

View File

@ -48,13 +48,13 @@ export class Contribution {
@ObjectType()
export class ContributionListResult {
constructor(count: number, list: Contribution[]) {
this.linkCount = count
this.linkList = list
this.contributionCount = count
this.contributionList = list
}
@Field(() => Int)
linkCount: number
contributionCount: number
@Field(() => [Contribution])
linkList: Contribution[]
contributionList: Contribution[]
}