Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

Fix 'should not use underscores in Go names' lint error

slid1amo2n3e4f6d1f9c90d7e
diff --git a/backend/internal/data/repo/repo_items.go b/backend/internal/data/repo/repo_items.go
index a4642116..ff3562aa 100644
--- a/backend/internal/data/repo/repo_items.go
+++ b/backend/internal/data/repo/repo_items.go
@@ -646,7 +646,7 @@ func (e *ItemsRepository) UpdateByGroup(ctx context.Context, gid uuid.UUID, data
location := data.LocationID
for _, child := range children {
- child_location, err := child.QueryLocation().First(ctx)
+ childLocation, err := child.QueryLocation().First(ctx)
if err != nil {
return ItemOut{}, err
}