Skip to content

Commit ac6dd91

Browse files
committed
fix
1 parent b1907e8 commit ac6dd91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/usage/pkg/apiv1/billing.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ package apiv1
66

77
import (
88
"context"
9+
"github.com/gitpod-io/gitpod/usage/pkg/contentservice"
910
"math"
1011
"time"
1112

@@ -48,7 +49,7 @@ func (s *BillingService) UpdateInvoices(ctx context.Context, in *v1.UpdateInvoic
4849
return nil, status.Errorf(codes.Internal, "Failed to download usage report with ID: %s", in.GetReportId())
4950
}
5051

51-
credits, err := s.creditSummaryForTeams(report)
52+
credits, err := s.creditSummaryForTeams(report, in.GetReportId())
5253
if err != nil {
5354
log.Log.WithError(err).Errorf("Failed to compute credit summary.")
5455
return nil, status.Errorf(codes.InvalidArgument, "failed to compute credit summary")

0 commit comments

Comments
 (0)