diff --git a/backend/src/graphql/model/TransactionLink.ts b/backend/src/graphql/model/TransactionLink.ts index 210420bb9..24c560209 100644 --- a/backend/src/graphql/model/TransactionLink.ts +++ b/backend/src/graphql/model/TransactionLink.ts @@ -29,7 +29,7 @@ export class TransactionLink { this.redeemedAt = dbTransactionLink.redeemedAt } if (user !== undefined) { - this.user = user + this.senderUser = user } if (redeemedBy !== undefined) { this.redeemedBy = redeemedBy @@ -43,7 +43,7 @@ export class TransactionLink { id: number @Field(() => User) - user: User + senderUser: User @Field(() => Decimal) amount: Decimal