fixed incorrect naming

This commit is contained in:
Jan Prochazka
2025-04-28 13:31:01 +02:00
parent b8d765d229
commit 09b43a8e95

View File

@@ -41,9 +41,9 @@ class Analyser extends DatabaseAnalyser {
return res; return res;
} }
async singleObjectAnalysis(dbhan, typeField) { async singleObjectAnalysis(name, typeField) {
const structure = await this._runAnalysis(dbhan, typeField); const structure = await this._runAnalysis(name, typeField);
const item = structure[typeField]?.find((i) => i.pureName === dbhan.pureName); const item = structure[typeField]?.find((i) => i.pureName === name.pureName);
return item; return item;
} }