diff --git a/src/becca/entities/bnote.js b/src/becca/entities/bnote.js index 47cf0599f..e1ac3e701 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,