mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix param validation (#2624)
This commit is contained in:
		| @@ -162,7 +162,7 @@ function parseBoolean(obj, name) { | ||||
|     return obj[name] === 'true'; | ||||
| } | ||||
|  | ||||
| function parseInteger(obj, name) { | ||||
| function parseOrderDirection(obj, name) { | ||||
|     if (!(name in obj)) { | ||||
|         return undefined; | ||||
|     } | ||||
| @@ -176,7 +176,7 @@ function parseInteger(obj, name) { | ||||
|     return integer; | ||||
| } | ||||
|  | ||||
| function parseOrderDirection(obj, name) { | ||||
| function parseInteger(obj, name) { | ||||
|     if (!(name in obj)) { | ||||
|         return undefined; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user