One more attempt to handle report null-ness
This commit is contained in:
parent
a1b2d580a8
commit
89eca2ddf9
4 changed files with 16 additions and 7 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue