 
                 formattedDeparture =
                   time: departureTime.format 'LT'
-                  wait: wait + " minute" + (if wait isnt 1 then "s")
+                  wait: wait + " minute" + (if wait is 1 then "" else "s")
                   route: departure.route.id + (if departure.route.terminal then "-#{departure.route.terminal}" else '')
                   departure: departure.stop.description
                   locationLink: ''


        chain.fail (err) ->
          console.error "#{logPrefix} Something got borked: #{err.stack || util.inspect(err, depth: null)}"

  userData

ensureAuthToken = (robot, msg, userData, logPrefix) ->
  if userData.authValue
    Q.resolve()
  else
    console.log "#{logPrefix} Calling RadBus API to get the RadBus API's Google API client ID & secret..."
