mirror of
				https://github.com/therootcompany/greenlock.js.git
				synced 2024-11-16 17:29:00 +00:00 
			
		
		
		
	promisify all of le-store-
This commit is contained in:
		
							parent
							
								
									42ee5de9fa
								
							
						
					
					
						commit
						7c6c509313
					
				
							
								
								
									
										2
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								index.js
									
									
									
									
									
								
							| @ -98,6 +98,8 @@ LE.create = function (le) { | ||||
|     le.store = le.store.create(le); | ||||
|   } | ||||
|   le.store = PromiseA.promisifyAll(le.store); | ||||
|   le.store.accounts = PromiseA.promisifyAll(le.store.accounts); | ||||
|   le.store.certificates = PromiseA.promisifyAll(le.store.certificates); | ||||
|   le._storeOpts = le.store.getOptions(); | ||||
|   Object.keys(le._storeOpts).forEach(function (key) { | ||||
|     if (!(key in le)) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user