mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	Fix data validation type for prefix (#2660)
				
					
				
			* fix param validation * fix data validation type for `prefix`
This commit is contained in:
		| @@ -46,7 +46,7 @@ function register(router) { | ||||
|         'mime': [v.notNull, v.isString], | ||||
|         'content': [v.notNull, v.isString], | ||||
|         'notePosition': [v.notNull, v.isInteger], | ||||
|         'prefix': [v.notNull, v.isInteger], | ||||
|         'prefix': [v.notNull, v.isString], | ||||
|         'isExpanded': [v.notNull, v.isBoolean], | ||||
|         'noteId': [v.notNull, v.isValidEntityId], | ||||
|         'branchId': [v.notNull, v.isValidEntityId], | ||||
|   | ||||
		Reference in New Issue
	
	Block a user