From 9e83dce04e7d71d989637242d9bf0db4392eb869 Mon Sep 17 00:00:00 2001 From: Dean Date: Sun, 1 Mar 2020 08:07:54 -0800 Subject: [PATCH] chore: Remove topDelegates from Round db --- src/entities/Round.ts | 3 --- src/server.ts | 1 - 2 files changed, 4 deletions(-) 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();