Skip to content

Commit

Permalink
fix: social links column should contain an array of strings
Browse files Browse the repository at this point in the history
  • Loading branch information
karimdaghari committed Jan 1, 2020
1 parent 386f66c commit 4613998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/profile/profile.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class Profile extends BaseEntity {
@Column({ nullable: true })
bio?: string;

@Field(() => String, { nullable: true })
@Field(() => [String], { nullable: true })
@Column({ nullable: true })
socialLinks?: string;
socialLinks?: string[];
}

0 comments on commit 4613998

Please sign in to comment.