From aa44ed0b18cca15a0c689f9bdb9ce584b0a55eb0 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Tue, 3 Jan 2023 15:20:52 +0330 Subject: [PATCH] fix(validator): return validObject --- core/validator/src/validator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/validator/src/validator.ts b/core/validator/src/validator.ts index 739dfe125..72477749e 100644 --- a/core/validator/src/validator.ts +++ b/core/validator/src/validator.ts @@ -97,5 +97,5 @@ export function validator( } } - return targetObject as T; + return validObject as T; }