Add confirmedBy and confirmedAt for the contribution query.

This commit is contained in:
elweyn 2022-07-14 16:43:20 +02:00
parent 8c6ec08e88
commit fdea5f68ef

View File

@ -13,6 +13,8 @@ export class Contribution {
this.memo = contribution.memo
this.createdAt = contribution.createdAt
this.deletedAt = contribution.deletedAt
this.confirmedAt = contribution.confirmedAt
this.confirmedBy = contribution.confirmedBy
}
@Field(() => Number)
@ -35,6 +37,12 @@ export class Contribution {
@Field(() => Date, { nullable: true })
deletedAt: Date | null
@Field(() => Date, { nullable: true })
confirmedAt: Date | null
@Field(() => Number, { nullable: true })
confirmedBy: number | null
}
@ObjectType()