mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	fix hoistedNoteId option init
This commit is contained in:
		
							parent
							
								
									35cc9da626
								
							
						
					
					
						commit
						8ca943f87b
					
				
							
								
								
									
										14
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										14
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -969,7 +969,8 @@ | ||||
|     "bluebird": { | ||||
|       "version": "3.5.2", | ||||
|       "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.2.tgz", | ||||
|       "integrity": "sha512-dhHTWMI7kMx5whMQntl7Vr9C6BvV10lFXDAasnqnrMYhXVCzzk6IO9Fo2L75jXHT07WrOngL1WDXOp+yYS91Yg==" | ||||
|       "integrity": "sha512-dhHTWMI7kMx5whMQntl7Vr9C6BvV10lFXDAasnqnrMYhXVCzzk6IO9Fo2L75jXHT07WrOngL1WDXOp+yYS91Yg==", | ||||
|       "dev": true | ||||
|     }, | ||||
|     "bmp-js": { | ||||
|       "version": "0.1.0", | ||||
| @ -8786,17 +8787,6 @@ | ||||
|         } | ||||
|       } | ||||
|     }, | ||||
|     "request-promise": { | ||||
|       "version": "4.2.2", | ||||
|       "resolved": "https://registry.npmjs.org/request-promise/-/request-promise-4.2.2.tgz", | ||||
|       "integrity": "sha1-0epG1lSm7k+O5qT+oQGMIpEZBLQ=", | ||||
|       "requires": { | ||||
|         "bluebird": "^3.5.0", | ||||
|         "request-promise-core": "1.1.1", | ||||
|         "stealthy-require": "^1.1.0", | ||||
|         "tough-cookie": ">=2.3.3" | ||||
|       } | ||||
|     }, | ||||
|     "request-promise-core": { | ||||
|       "version": "1.1.1", | ||||
|       "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.1.tgz", | ||||
|  | ||||
| @ -31,6 +31,7 @@ async function initSyncedOptions(username, password) { | ||||
| 
 | ||||
| async function initNotSyncedOptions(initialized, startNotePath = 'root', syncServerHost = '', syncProxy = '') { | ||||
|     await optionService.createOption('startNotePath', startNotePath, false); | ||||
|     await optionService.createOption('hoistedNoteId', 'root', false); | ||||
|     await optionService.createOption('lastDailyBackupDate', dateUtils.nowDate(), false); | ||||
|     await optionService.createOption('lastWeeklyBackupDate', dateUtils.nowDate(), false); | ||||
|     await optionService.createOption('lastMonthlyBackupDate', dateUtils.nowDate(), false); | ||||
|  | ||||
| @ -1,6 +1,7 @@ | ||||
| "use strict"; | ||||
| 
 | ||||
| const utils = require('./utils'); | ||||
| const log = require('./log'); | ||||
| const url = require('url'); | ||||
| 
 | ||||
| // this service provides abstraction over node's HTTP/HTTPS and electron net.client APIs
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner