mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	server-ts: Address requested changes
This commit is contained in:
		@@ -239,6 +239,10 @@ function parseBoolean(obj: any, name: string) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function parseOrderDirection(obj: any, name: string) {
 | 
			
		||||
    if (!(name in obj)) {
 | 
			
		||||
        return undefined;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    const integer = parseInt(obj[name]);
 | 
			
		||||
 | 
			
		||||
    if (!['asc', 'desc'].includes(obj[name])) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user