mirror of
				https://github.com/fspc/workstand.git
				synced 2025-10-31 08:25:35 -04:00 
			
		
		
		
	Throw error.
This commit is contained in:
		
							parent
							
								
									47f3454905
								
							
						
					
					
						commit
						e1287a25b0
					
				| @ -98,6 +98,7 @@ export default class SignIn extends React.Component { | ||||
|               if (response.status === 200) { | ||||
|                 return response.json(); | ||||
|               } | ||||
|               throw new Error('Bad response from server'); | ||||
|             }) | ||||
|             .then((data) => { | ||||
|               if (data.results.length > 0) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user