Make it possible to handle null reporter_contact_consent
This commit is contained in:
parent
e63646c9a1
commit
e09c412139
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ type Water struct {
|
|||
Owner types.Contact `db:"owner" json:"owner"`
|
||||
PublicID string `db:"public_id" json:"public_id"`
|
||||
Reporter types.Contact `db:"reporter" json:"reporter"`
|
||||
ReporterContactConsent bool `db:"reporter_contact_consent" json:"reporter_contact_consent"`
|
||||
ReporterContactConsent *bool `db:"reporter_contact_consent" json:"reporter_contact_consent"`
|
||||
Status string `db:"status" json:"status"`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue