Commit Graph

13 Commits

Author SHA1 Message Date
PhilRunninger
b171b4d7ac More refactoring. Code is much DRY-er.
I removed a bunch of duplication by:
1. Moving `if (!where)` logic into the build_where function - sending
   the "No body was sent." message back in the HTTP response object.
2. Putting all file read operations into a dedicated function -
   process_route. This takes a callback function that handles the
   remaining logic of each route after successfully reading the SQL
   file.
2023-08-29 11:52:55 -04:00
f548780d9f sort result sets by id 2021-06-02 15:50:21 +00:00
50da4dfa17 prevent last price iteration from being available to delete, and rebuild price iteration to only look at baseline activity 2021-04-12 15:10:45 -04:00
Paul Trowbridge
e05efeb1e2 24 hour format on the stamp 2020-02-25 16:49:46 -05:00
Trowbridge
a835ed7b3e date format 2020-02-25 12:03:11 -05:00
Trowbridge
03e532857d change time stamp and add sort 2020-02-25 10:54:45 -05:00
pt
60ace348b8 pretty print doc 2020-02-25 00:27:30 -05:00
Trowbridge
fcc95ecb40 validate forecast matches actual, build in log entries for initial build 2020-02-20 14:26:39 -05:00
Trowbridge
cbc2caa41d add module back in 2020-02-18 17:10:49 -05:00
Trowbridge
d3a4a45d53 change comment to be the tag 2020-02-18 14:47:46 -05:00
pt
1b8c101429 update history log 2020-02-14 02:24:52 -05:00
Paul Trowbridge
7643a6961d format 2019-03-23 17:17:46 -04:00
Trowbridge
429baa0c04 add route to list changes 2019-03-22 14:02:03 -04:00