forked from water-fountains/datablue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
water-fountains#148 fetch by bounds instead of city
the /fountains endpoint now requires sw and ne query parameter instead of city moreover: - require a location for byId so that we can look it up in cache - fix TestCityBounds (water-fountains#157) - failure handling for cache populati - send 404 in case json object is undefined (and not only log error and send undefined) - catch errors and send to next middleware (water-fountains#155) - removed database.service.ts - increased REQUEST_LIMIT to 10MB as we query more fountains now - updated Api.yaml accordingly - updated express from 4.17.1 to 4.17.2 - update node-cache from 4.2.1 to 5.1.2 cleanup: - use BoundingBox instead of separate minLng, minLat... as parameter - added last_scan to FountainCollection and provide a factory function which set it automatically to new Date() - fix binding in router.ts
- Loading branch information
Showing
23 changed files
with
1,267 additions
and
910 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.