Skip to content

Commit

Permalink
Fix force stops redownload
Browse files Browse the repository at this point in the history
  • Loading branch information
consindo committed Sep 22, 2016
1 parent 966ffcc commit 6f9252e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/station.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ var station = {
sending.trips = finalTripsArray

// forces a cache update
if (sending.trips.length === 0 && deleteCount > 0 && !force) {
if (sending.trips.length === 0 && deleteCount > 0 && force !== true) {
stopTimes(req, res, true)
return
}
Expand Down

0 comments on commit 6f9252e

Please sign in to comment.