Fixed error with instance for dictionary based on new implementation of gRPC access (#500)
							parent
							
								
									d24666370f
								
							
						
					
					
						commit
						303baee821
					
				|  | @ -45,8 +45,8 @@ | |||
|   }, | ||||
|   "dependencies": { | ||||
|     "@adempiere/grpc-access-client": "^1.2.1", | ||||
|     "@adempiere/grpc-data-client": "^2.3.4", | ||||
|     "@adempiere/grpc-dictionary-client": "^1.4.1", | ||||
|     "@adempiere/grpc-data-client": "^2.3.6", | ||||
|     "@adempiere/grpc-dictionary-client": "^1.4.2", | ||||
|     "@adempiere/grpc-enrollment-client": "^1.1.0", | ||||
|     "@adempiere/grpc-pos-client": "^1.2.0", | ||||
|     "axios": "0.19.2", | ||||
|  |  | |||
|  | @ -34,11 +34,11 @@ export const DictionaryInstance = () => { | |||
|   const { getLanguage } = require('@/lang/index') | ||||
|   const { getToken } = require('@/utils/auth') | ||||
| 
 | ||||
|   return new Dictionary( | ||||
|     DICTIONARY_ADDRESS, | ||||
|     getToken(), | ||||
|     getLanguage() || 'en_US' | ||||
|   ) | ||||
|   return new Dictionary({ | ||||
|     host: DICTIONARY_ADDRESS, | ||||
|     sessionUuid: getToken(), | ||||
|     language: getLanguage() || 'en_US' | ||||
|   }) | ||||
| } | ||||
| 
 | ||||
| // Instance for connection Enrollment
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Yamel Senih
						Yamel Senih