Skip to content

Commit 3db22ac

Browse files
committed
fix(cost): invoice
1 parent 43059b6 commit 3db22ac

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

openmeter/billing/httpdriver/invoicecost.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"github.com/openmeterio/openmeter/openmeter/customer"
1515
"github.com/openmeterio/openmeter/openmeter/meter"
1616
"github.com/openmeterio/openmeter/openmeter/streaming"
17-
"github.com/openmeterio/openmeter/pkg/filter"
1817
"github.com/openmeterio/openmeter/pkg/framework/commonhttp"
1918
"github.com/openmeterio/openmeter/pkg/framework/transport/httptransport"
2019
"github.com/openmeterio/openmeter/pkg/models"
@@ -107,12 +106,6 @@ func (h *handler) GetInvoiceLineCost() GetInvoiceLineCostHandler {
107106
return GetInvoiceLineCostResponse{}, err
108107
}
109108

110-
// Convert the feature's meter group by filters to a map of filter group by
111-
meterGroupByFilters := make(map[string]filter.FilterString)
112-
for k, v := range feature.MeterGroupByFilters {
113-
meterGroupByFilters[k] = v
114-
}
115-
116109
// Get the customer
117110
customer, err := h.customerService.GetCustomer(ctx, customer.GetCustomerInput{
118111
CustomerID: lo.ToPtr(invoice.CustomerID()),

0 commit comments

Comments
 (0)