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;
}
async singleObjectAnalysis(dbhan, typeField) {
const structure = await this._runAnalysis(dbhan, typeField);
const item = structure[typeField]?.find((i) => i.pureName === dbhan.pureName);
async singleObjectAnalysis(name, typeField) {
const structure = await this._runAnalysis(name, typeField);
const item = structure[typeField]?.find((i) => i.pureName === name.pureName);
return item;
}