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,