mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:49:01 +01:00 
			
		
		
		
	server-ts: Fix error with sanitize_attribute_name
This commit is contained in:
		
							parent
							
								
									45a6c9558f
								
							
						
					
					
						commit
						b8ccf5ba8f
					
				| @ -183,7 +183,7 @@ class BAttribute extends AbstractBeccaEntity<BAttribute> { | ||||
|             this.validate(); | ||||
|         } | ||||
| 
 | ||||
|         this.name = sanitizeAttributeName(this.name); | ||||
|         this.name = sanitizeAttributeName.sanitizeAttributeName(this.name); | ||||
| 
 | ||||
|         if (!this.value) { | ||||
|             // null value isn't allowed
 | ||||
|  | ||||
| @ -13,4 +13,6 @@ function sanitizeAttributeName(origName: string) { | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| export = sanitizeAttributeName; | ||||
| export = { | ||||
|     sanitizeAttributeName | ||||
| }; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran