Update TODOs

This commit is contained in:
David Dworken 2023-10-15 17:59:11 -07:00
parent cd53e9a40d
commit 9a4a2a18aa
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View File

@ -91,7 +91,6 @@ func (s *Server) apiBootstrapHandler(w http.ResponseWriter, r *http.Request) {
} }
} }
// TODO: Update this to take into account the source of the query
func (s *Server) apiQueryHandler(w http.ResponseWriter, r *http.Request) { func (s *Server) apiQueryHandler(w http.ResponseWriter, r *http.Request) {
ctx := r.Context() ctx := r.Context()
userId := getRequiredQueryParam(r, "user_id") userId := getRequiredQueryParam(r, "user_id")

View File

@ -104,7 +104,7 @@ func OpenDB() (*database.DB, error) {
var CRON_COUNTER = 0 var CRON_COUNTER = 0
// TODO: Update this to delete entries from integration tests // TODO: Update this to delete entries from integration test devices, as long as they are inactive
func cron(ctx context.Context, db *database.DB, stats *statsd.Client) error { func cron(ctx context.Context, db *database.DB, stats *statsd.Client) error {
// Determine the latest released version of hishtory to serve via the /api/v1/download // Determine the latest released version of hishtory to serve via the /api/v1/download
// endpoint for hishtory updates. // endpoint for hishtory updates.