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 }