mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	update to entity creates sync event
This commit is contained in:
		@@ -4,6 +4,7 @@ const Entity = require('./entity');
 | 
			
		||||
 | 
			
		||||
class Attribute extends Entity {
 | 
			
		||||
    static get tableName() { return "attributes"; }
 | 
			
		||||
    static get primaryKeyName() { return "attributeId"; }
 | 
			
		||||
 | 
			
		||||
    async getNote() {
 | 
			
		||||
        return this.repository.getEntity("SELECT * FROM notes WHERE noteId = ?", [this.noteId]);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user