[develop | DONE | FIXED] indicator-utils: add 'return null' on 2 methods (triggered error on validator project)

This commit is contained in:
Alex Martzios 2024-07-26 11:38:57 +03:00
parent 310f06b234
commit 0d0c077a4c
1 changed files with 2 additions and 0 deletions

View File

@ -734,6 +734,7 @@ export class IndicatorUtils {
} else if ((obj[this.getDescriptionObjectName(obj)]).hasOwnProperty("queries")) {
return "queries";
}
return null;
}
private getDescriptionObjectName(obj) {
@ -746,6 +747,7 @@ export class IndicatorUtils {
} else if (obj.hasOwnProperty("series")) {
return "series";
}
return null;
}
private extractType(obj, indicatorPath: IndicatorPath): IndicatorPathType {