mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	changes in API format
This commit is contained in:
		| @@ -34,10 +34,7 @@ async function showDialog() { | ||||
| } | ||||
|  | ||||
| async function saveOptions(optionName, optionValue) { | ||||
|     await server.post('options', { | ||||
|         name: optionName, | ||||
|         value: optionValue | ||||
|     }); | ||||
|     await server.put('options/' + encodeURIComponent(optionName) + '/' + encodeURIComponent(optionValue)); | ||||
|  | ||||
|     infoService.showMessage("Options change have been saved."); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user