Skip to content

Build your personal knowledge base with Trilium Notes

fix

zadam2242397280b7
diff --git a/src/becca/entities/bnote.js b/src/becca/entities/bnote.js
index 47cf0599fb..e1ac3e7015 100644
--- a/src/becca/entities/bnote.js
+++ b/src/becca/entities/bnote.js
@@ -1194,7 +1194,7 @@ class BNote extends AbstractBeccaEntity {
addAttribute(type, name, value = "", isInheritable = false, position = 1000) {
const BAttribute = require("./battribute");
- return new Attribute({
+ return new BAttribute({
noteId: this.noteId,
type: type,
name: name,