fix incident view
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-24 17:03:16 +11:00
parent 49e60f7843
commit 252bf0a1c8
9 changed files with 612 additions and 10 deletions

View File

@@ -4,16 +4,16 @@ import (
"context"
"encoding/json"
"fmt"
"net/http"
"mocksnow/components/views"
"mocksnow/db/queries"
"mocksnow/internal/utils"
"net/http"
)
func (h *Handler) RenderIncomingTable(w http.ResponseWriter, r *http.Request) {
ctx := context.Background()
h.Logger.Debug("Querying updates table")
h.Logger.Debug("Querying incoming table")
results, err := h.Database.Queries().ListIncoming(ctx)
if err != nil {
h.Logger.Error("Unable to query incoming table", "error", err)