mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Change the order of arguments
This commit is contained in:
		
				
					committed by
					
						 HirokiUchikawa
						HirokiUchikawa
					
				
			
			
				
	
			
			
			
						parent
						
							84f598e143
						
					
				
				
					commit
					7fafa21a1b
				
			| @@ -66,7 +66,7 @@ var localfilesystem = { | ||||
|             storageBaseDir = configs.dir; | ||||
|         } | ||||
|     }, | ||||
|     get: function (key, scope) { | ||||
|     get: function (scope, key) { | ||||
|         if(!storages[scope]){ | ||||
|             createStorage(scope); | ||||
|         } | ||||
| @@ -82,7 +82,7 @@ var localfilesystem = { | ||||
|         } | ||||
|     }, | ||||
|  | ||||
|     set: function (key, value, scope) { | ||||
|     set: function (scope, key, value) { | ||||
|         if(!storages[scope]){ | ||||
|             createStorage(scope); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user