From 244bd5e51b9d0a3f6267f53e0e0276802c95f502 Mon Sep 17 00:00:00 2001 From: Aleksandr Kraiz Date: Mon, 23 May 2022 08:56:39 +0400 Subject: [PATCH] Fix typo --- src/services/PriceFeed/ws/PriceFeedSubscription.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/PriceFeed/ws/PriceFeedSubscription.ts b/src/services/PriceFeed/ws/PriceFeedSubscription.ts index 15154b1..c7371fe 100644 --- a/src/services/PriceFeed/ws/PriceFeedSubscription.ts +++ b/src/services/PriceFeed/ws/PriceFeedSubscription.ts @@ -18,8 +18,8 @@ const allTickersSchema = z.unknown().array() .transform((tickers) => { const data = [...tickers]; data.shift(); - const parsedDate = tickerInfoSchema.array().parse(data); - return parsedDate.reduce< + const parsedData = tickerInfoSchema.array().parse(data); + return parsedData.reduce< Partial< Record< string,