From 386bf8222a43f3dc58fafac876925cb0446efba8 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 20 Sep 2024 12:50:18 +0100 Subject: [PATCH] fix(historical): return coerced values (#797) --- src/modules/historical.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/historical.ts b/src/modules/historical.ts index 0f55cb88..6177601e 100644 --- a/src/modules/historical.ts +++ b/src/modules/historical.ts @@ -292,7 +292,7 @@ export default async function historical( }; try { - validateAndCoerceTypebox({ + return validateAndCoerceTypebox({ type: "result", data: out, schema,