Skip to content

Commit

Permalink
debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianMF1 committed May 26, 2024
1 parent 7a410a8 commit 8dfda94
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/flights/checkout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ const Checkout = () => {
);
setFlightDetails(flightResponse.data.flight.flights);
console.log('Flight details:', flightResponse.data.flight.flights);

Check failure on line 24 in src/flights/checkout.jsx

View workflow job for this annotation

GitHub Actions / test-and-lint

Replace `'Flight·details:'` with `"Flight·details:"`
console.log(flightDetails);
console.log(flightDetails.data[0].departure_airport.id);
console.log(flightDetails.data[0].arrival_airport.id);
console.log('Flight departure:', flightResponse.data.flight.flights[0].departure_airport.id);

Check failure on line 25 in src/flights/checkout.jsx

View workflow job for this annotation

GitHub Actions / test-and-lint

Replace `'Flight·departure:',·flightResponse.data.flight.flights[0].departure_airport.id` with `⏎··········"Flight·departure:",⏎··········flightResponse.data.flight.flights[0].departure_airport.id,⏎········`
console.log('Flight arrival:', flightResponse.data.flight.flights[0].arrival_airport.id);

Check failure on line 26 in src/flights/checkout.jsx

View workflow job for this annotation

GitHub Actions / test-and-lint

Replace `'Flight·arrival:',·flightResponse.data.flight.flights[0].arrival_airport.id` with `⏎··········"Flight·arrival:",⏎··········flightResponse.data.flight.flights[0].arrival_airport.id,⏎········`
} catch (error) {
console.error("Error fetching transaction:", error);
}
Expand Down

0 comments on commit 8dfda94

Please sign in to comment.