diff --git a/src/entity-manager/EntityManager.ts b/src/entity-manager/EntityManager.ts index d65d3877d..b4d973704 100644 --- a/src/entity-manager/EntityManager.ts +++ b/src/entity-manager/EntityManager.ts @@ -1335,7 +1335,7 @@ export class EntityManager { if (isNaN(Number(value))) throw new TypeORMError(`Value "${value}" is not a number.`) - // convert possible embeded path "social.likes" into object { social: { like: () => value } } + // convert possible embedded path "social.likes" into object { social: { like: () => value } } const values: QueryDeepPartialEntity = propertyPath .split(".") .reduceRight( @@ -1372,7 +1372,7 @@ export class EntityManager { if (isNaN(Number(value))) throw new TypeORMError(`Value "${value}" is not a number.`) - // convert possible embeded path "social.likes" into object { social: { like: () => value } } + // convert possible embedded path "social.likes" into object { social: { like: () => value } } const values: QueryDeepPartialEntity = propertyPath .split(".") .reduceRight(