Skip to content

Commit

Permalink
grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
aboutdavid committed May 16, 2024
1 parent 88965c2 commit 5fff99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const app = new App({
var txt = ""


txt += flightsLeft == 0 ? `*${user.name} has landed from their final flight.*` : `*${user.name} has ${flightsLeft} ${flightsLeft != 1 ? "flights" : "flight"} to complete*`;
txt += flightsLeft == 0 ? `*${user.name} has landed from their final flight.*` : `*${user.name} has ${flightsLeft} ${flightsLeft != 1 ? "flights" : "flight"} to complete*:`;

flights.forEach((flight, i) => {
txt += `\n\n*${flight.ident_iata} (${flight.ident_icao}): ${flight.origin?.code_iata} (${flight.origin?.code_icao}) -> ${flight.destination?.code_iata} (${flight.destination?.code_icao})*\n`
Expand Down

0 comments on commit 5fff99e

Please sign in to comment.