Skip to content

Commit

Permalink
SWATCH-2897 Internal api to provide remittance response based on tall…
Browse files Browse the repository at this point in the history
…y_id

Add unit test for API endpoint

Signed-off-by: Kartik Shah <karshah@redhat.com>
  • Loading branch information
kartikshahc committed Sep 17, 2024
1 parent 77be0ce commit a871352
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import com.redhat.swatch.billable.usage.openapi.model.TallyRemittance;
import com.redhat.swatch.billable.usage.services.BillingProducer;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.inject.Inject;
import jakarta.transaction.Transactional;
import java.time.OffsetDateTime;
import java.util.ArrayList;
Expand All @@ -50,7 +49,7 @@
public class InternalBillableUsageController {
private final BillableUsageRemittanceRepository remittanceRepository;
private final BillingProducer billingProducer;
@Inject protected RemittanceMapper remittanceMapper;
private final RemittanceMapper remittanceMapper;

public List<MonthlyRemittance> getRemittances(BillableUsageRemittanceFilter filter) {
if (filter.getOrgId() == null) {
Expand Down

0 comments on commit a871352

Please sign in to comment.