From c80781764a114c58e91aaaf7f9cb6165e0f179e4 Mon Sep 17 00:00:00 2001 From: Logan Leopold Date: Fri, 22 Jan 2021 22:51:39 -0500 Subject: [PATCH] got api working and SAVED --- src/FlightForm.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/FlightForm.js b/src/FlightForm.js index 573f26f..359e66e 100644 --- a/src/FlightForm.js +++ b/src/FlightForm.js @@ -64,7 +64,6 @@ class FlightForm extends Component { }) // Begin API Access - let body = `grant_type=client_credentials&client_id=${process.env.REACT_APP_AMADEUS_KEY}&client_secret=${process.env.REACT_APP_AMADEUS_SECRET}`; let form = this @@ -76,7 +75,6 @@ class FlightForm extends Component { }, data: body }).then( function(response) { - console.log(response.data.access_token) let token = response.data.access_token form.setState({ oAuth: token