Forgot an await
This commit is contained in:
		
							parent
							
								
									212301c62c
								
							
						
					
					
						commit
						0cadc8611f
					
				| @ -150,7 +150,7 @@ | ||||
| 				}) | ||||
| 			}); | ||||
| 
 | ||||
| 			const json = response.json(); | ||||
| 			const json = await response.json(); | ||||
| 			if (json.token) { | ||||
| 				window.localStorage.setItem("token", json.token); | ||||
| 				window.location.href = "/app"; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Madeline
						Madeline