Skip to content

Commit 1f50d4c

Browse files
Vaibhav  BhallaVaibhav  Bhalla
authored andcommitted
refactor(chore): sonar issues fix
sonarfix
1 parent b519e77 commit 1f50d4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/search-service/src/classes/base/query.builder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ export abstract class SearchQueryBuilder<T extends Model> {
408408
val: PredicateValueType<ShortHandEqualType>,
409409
) {
410410
const type = prop.type;
411-
if (this.isStringTyoe(type, val)) {
411+
if (this.isStringType(type, val)) {
412412
return String(val);
413413
}
414414
if (this.isNumberType(type, val)) {
@@ -435,7 +435,7 @@ export abstract class SearchQueryBuilder<T extends Model> {
435435
return val;
436436
}
437437

438-
isStringTyoe(
438+
isStringType(
439439
type: PropertyType,
440440
val: PredicateValueType<ShortHandEqualType>,
441441
): boolean {

0 commit comments

Comments
 (0)