Update port

This commit is contained in:
Daniel Cosme
2026-03-30 14:07:01 -04:00
parent 5523e7fb12
commit 9ba8cef0a8
4 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ func main() {
reportData := make([][]string, len(records))
for idx, record := range records {
q := models.LocationsPackages.Query()
like := fmt.Sprintf("%%%s%%", record)
like := fmt.Sprintf("%%%s%%", record[0])
q.Apply(models.SelectWhere.LocationsPackages.CurrentPath.Like(like))
res, err := q.All(context.Background(), bobDB)
assertNoErr(err)