diff --git a/src/entities/Round.ts b/src/entities/Round.ts index 077b034..703ba3b 100644 --- a/src/entities/Round.ts +++ b/src/entities/Round.ts @@ -5,9 +5,6 @@ export class Round extends BaseEntity { @PrimaryColumn("int") public id: number; - @Column("varchar") - public topDelegates: string; - @Column("varchar") public forged: string; diff --git a/src/server.ts b/src/server.ts index 5ccbd97..0159f66 100644 --- a/src/server.ts +++ b/src/server.ts @@ -20,7 +20,6 @@ export const startServer = async config => { const round = await Round.findOne({ id }); const response: any = round; if (round) { - response.topDelegates = round.topDelegates.split(","); return response; } else { return notFound();