From 9a4a2a18aaeb282ebaf5578129715f40f1496396 Mon Sep 17 00:00:00 2001
From: David Dworken <david@daviddworken.com>
Date: Sun, 15 Oct 2023 17:59:11 -0700
Subject: [PATCH] Update TODOs

---
 backend/server/internal/server/api_handlers.go | 1 -
 backend/server/server.go                       | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/backend/server/internal/server/api_handlers.go b/backend/server/internal/server/api_handlers.go
index ecec251..0ea8a3e 100644
--- a/backend/server/internal/server/api_handlers.go
+++ b/backend/server/internal/server/api_handlers.go
@@ -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) {
 	ctx := r.Context()
 	userId := getRequiredQueryParam(r, "user_id")
diff --git a/backend/server/server.go b/backend/server/server.go
index 7caeaea..eb22936 100644
--- a/backend/server/server.go
+++ b/backend/server/server.go
@@ -104,7 +104,7 @@ func OpenDB() (*database.DB, error) {
 
 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 {
 	// Determine the latest released version of hishtory to serve via the /api/v1/download
 	// endpoint for hishtory updates.