One more attempt to handle report null-ness

This commit is contained in:
Eli Ribble 2026-04-29 20:58:47 +00:00
parent a1b2d580a8
commit 89eca2ddf9
No known key found for this signature in database
4 changed files with 16 additions and 7 deletions

View file

@ -16,7 +16,7 @@ import (
"github.com/stephenafamo/scan"
)
func water(ctx context.Context, public_id string, report *types.PublicReport) (*types.PublicReportWater, error) {
func water(ctx context.Context, public_id string, report types.PublicReport) (*types.PublicReportWater, error) {
row, err := bob.One(ctx, db.PGInstance.BobDB, psql.Select(
sm.Columns(
"access_comments",