Skip to content

Commit

Permalink
Fixed chainType enum typeorm type (#1312)
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi authored Feb 12, 2024
1 parent 5419915 commit 71d3976
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 @@ -66,7 +66,7 @@ export class Donation extends BaseEntity {
@Column({ nullable: true })
safeTransactionId?: string;

@Field()
@Field(type => String)
@Column({
type: 'enum',
enum: ChainType,
Expand Down

0 comments on commit 71d3976

Please sign in to comment.