mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	Transform username/password login response to json (#211)
This commit is contained in:
		
							parent
							
								
									91fd43c553
								
							
						
					
					
						commit
						01d747e590
					
				| @ -26,7 +26,9 @@ function passwordLogin(path, data) { | ||||
|         credentials: 'include', | ||||
|         headers, | ||||
|         body: JSON.stringify(data), | ||||
|     }).then(throwIfNotSuccess); | ||||
|     }) | ||||
|         .then(throwIfNotSuccess) | ||||
|         .then(response => response.json()); | ||||
| } | ||||
| 
 | ||||
| export default { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user