Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Fix hasNotDefinedValuesInObject() in object.helper.ts (#2421)
Vlad Prodan4af76f6f6d05
diff --git a/apps/api/src/helper/object.helper.ts b/apps/api/src/helper/object.helper.tsindex 50a4f2b127..2f0399fb81 100644--- a/apps/api/src/helper/object.helper.ts+++ b/apps/api/src/helper/object.helper.ts@@ -3,7 +3,7 @@ import { cloneDeep, isArray, isObject } from 'lodash';export function hasNotDefinedValuesInObject(aObject: Object): boolean {for (const key in aObject) {- if (aObject[key] === null || aObject[key] === null) {+ if (aObject[key] === null || aObject[key] === undefined) {return true;} else if (isObject(aObject[key])) {return hasNotDefinedValuesInObject(aObject[key]);