server-ts: Address some more review comments

This commit is contained in:
Elian Doran
2024-04-17 22:54:05 +03:00
parent 1d1ccc8d63
commit 67cb02ed92
2 changed files with 10 additions and 12 deletions

View File

@@ -169,7 +169,7 @@ class SNote extends AbstractShacaEntity {
}
}
const templateAttributes = [];
const templateAttributes: SAttribute[] = [];
for (const ownedAttr of parentAttributes) { // parentAttributes so we process also inherited templates
if (ownedAttr.type === 'relation' && ['template', 'inherit'].includes(ownedAttr.name)) {