Default to setting AddressGid
So we don't run afoul of the nullable constraint
This commit is contained in:
parent
c8989237b0
commit
c6282c9f5e
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ func (res *complianceR) Create(ctx context.Context, r *http.Request, n publicrep
|
||||||
}
|
}
|
||||||
setter_report := models.PublicreportReportSetter{
|
setter_report := models.PublicreportReportSetter{
|
||||||
//AddressID: omitnull.From(...),
|
//AddressID: omitnull.From(...),
|
||||||
//AddressGid: omit.From(...),
|
AddressGid: omit.From(""),
|
||||||
AddressRaw: omit.From(""),
|
AddressRaw: omit.From(""),
|
||||||
ClientUUID: omitnull.From(n.ClientID),
|
ClientUUID: omitnull.From(n.ClientID),
|
||||||
Created: omit.From(time.Now()),
|
Created: omit.From(time.Now()),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue