Default to setting AddressGid

So we don't run afoul of the nullable constraint
This commit is contained in:
Eli Ribble 2026-04-23 22:41:22 +00:00
parent c8989237b0
commit c6282c9f5e
No known key found for this signature in database

View file

@ -68,7 +68,7 @@ func (res *complianceR) Create(ctx context.Context, r *http.Request, n publicrep
}
setter_report := models.PublicreportReportSetter{
//AddressID: omitnull.From(...),
//AddressGid: omit.From(...),
AddressGid: omit.From(""),
AddressRaw: omit.From(""),
ClientUUID: omitnull.From(n.ClientID),
Created: omit.From(time.Now()),