server-ts: Fix regression

This commit is contained in:
Elian Doran 2024-04-17 22:49:41 +03:00
parent 262e4db0f2
commit 1d1ccc8d63
No known key found for this signature in database

View File

@ -211,10 +211,10 @@ class SNote extends AbstractShacaEntity {
}
if (!this.__inheritableAttributeCache) {
return this.__getAttributes(path); // will refresh also this.__inheritableAttributeCache
} else {
return this.__inheritableAttributeCache;
this.__getAttributes(path); // will refresh also this.__inheritableAttributeCache
}
return this.__inheritableAttributeCache || [];
}
/**