From db80e731c4490e1ead9b2c7e4294685f4f11a13e Mon Sep 17 00:00:00 2001 From: Samuel Golland Date: Thu, 14 Nov 2024 11:21:16 -0500 Subject: [PATCH] fix: typo in upgrades type --- src/fixtures/info.ts | 6 ++++-- src/info/model.ts | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/fixtures/info.ts b/src/fixtures/info.ts index 149856066..bb51e29bb 100644 --- a/src/fixtures/info.ts +++ b/src/fixtures/info.ts @@ -1,5 +1,7 @@ -export const upgradesInfo = { - apricotPhaselTime: '2020-12-05T05:00:00Z', +import type { GetUpgradesInfoResponse } from '../info'; + +export const upgradesInfo: GetUpgradesInfoResponse = { + apricotPhase1Time: '2020-12-05T05:00:00Z', apricotPhase2Time: '2020-12-05T05:00:00Z', apricotPhase3Time: '2020-12-05T05:00:00Z', apricotPhase4Time: '2020-12-05T05:00:00Z', diff --git a/src/info/model.ts b/src/info/model.ts index 30c324f3b..bb1c417d2 100644 --- a/src/info/model.ts +++ b/src/info/model.ts @@ -77,7 +77,7 @@ export type isBootstrapped = { }; export type GetUpgradesInfoResponse = { - apricotPhaselTime: string; + apricotPhase1Time: string; apricotPhase2Time: string; apricotPhase3Time: string; apricotPhase4Time: string;