Skip to content

Commit

Permalink
one more update for Lukas
Browse files Browse the repository at this point in the history
  • Loading branch information
dinoboy197 committed Jan 11, 2024
1 parent 925184b commit eea734b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/api/product_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,7 @@ func (p *ProductCache) Refresh(ctx context.Context) error {
activeProducts := make(map[string]interface{})

for _, customer := range response.Customers {
if customer.Contracts == nil {
continue
}
for _, contract := range customer.Contracts {
if contract.Items == nil {
continue
}
for _, item := range contract.Items {
if item.ProductID == nil {
continue
Expand Down

0 comments on commit eea734b

Please sign in to comment.