Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions internal/service/domain/treecluster/treecluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ func (s *TreeClusterService) updateTreeClusterPosition(ctx context.Context, id i
slog.Group("new_position", "latitude", lat, "longitude", long),
)
}
} else {
tc.Region = nil
}

return true, nil
Expand Down Expand Up @@ -361,6 +363,8 @@ func (s *TreeClusterService) handlePrevTreeLocation(ctx context.Context, trees [
tc.Latitude = &lat
tc.Longitude = &long
tc.Region = region
} else {
tc.Region = nil
}

return true, nil
Expand Down