Skip to content

Commit

Permalink
graphql allow null for transactionId (#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosQ96 authored Dec 19, 2023
1 parent 6c30546 commit eabbfb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/donation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class Donation extends BaseEntity {
@PrimaryGeneratedColumn()
id: number;

@Field()
@Field({ nullable: true })
@Column({ nullable: true })
// It's transactionHash for crypto donation, and trackingCode for fiat donation
transactionId: string;
Expand Down

0 comments on commit eabbfb1

Please sign in to comment.