From 7c98a521338cd476eac0fab8a77770ce345a1080 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Mon, 9 Mar 2026 19:23:34 +0000 Subject: [PATCH] Provide time-of-day as fully expanded in JSON --- platform/publicreport/nuisance.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/publicreport/nuisance.go b/platform/publicreport/nuisance.go index 0c3534eb..5c8936c4 100644 --- a/platform/publicreport/nuisance.go +++ b/platform/publicreport/nuisance.go @@ -37,10 +37,10 @@ type Nuisance struct { SourceDescription string `db:"source_description" json:"source_description"` SourceGutter bool `db:"source_gutter" json:"source_gutter"` SourceStagnant bool `db:"source_stagnant" json:"source_stagnant"` - TODDay bool `db:"tod_day" json:"tod_day"` - TODEarly bool `db:"tod_early" json:"tod_early"` - TODEvening bool `db:"tod_evening" json:"tod_evening"` - TODNight bool `db:"tod_night" json:"tod_night"` + TODDay bool `db:"tod_day" json:"time_of_day_day"` + TODEarly bool `db:"tod_early" json:"time_of_day_early"` + TODEvening bool `db:"tod_evening" json:"time_of_day_evening"` + TODNight bool `db:"tod_night" json:"time_of_day_night"` } func NuisanceReportForOrganization(ctx context.Context, org_id int32) ([]Nuisance, error) {