diff --git a/app/v1/connectors/PenaltiesConnector.scala b/app/v1/connectors/PenaltiesConnector.scala index 56fe968e..088f5aa7 100644 --- a/app/v1/connectors/PenaltiesConnector.scala +++ b/app/v1/connectors/PenaltiesConnector.scala @@ -90,7 +90,7 @@ class PenaltiesConnector @Inject()(val http: HttpClient, correlationId: String): Future[Outcome[FinancialDataResponse]] = { val vrn = request.vrn.vrn val searchItem = request.searchItem - val url = appConfig.penaltiesBaseUrl + s"/penalties/penalty/financial-data/VRN/$vrn/VATC?searchType=CHGREF&searchItem=${searchItem}&addPostedInterestDetails=true&addAccruingInterestDetails=true" + val url = appConfig.penaltiesBaseUrl + s"/penalties/penalty/financial-data/VRN/$vrn/VATC?searchType=CHGREF&searchItem=${searchItem}" def doGet(implicit hc: HeaderCarrier): Future[Outcome[FinancialDataResponse]] = { diff --git a/test/v1/constants/FinancialDataConstants.scala b/test/v1/constants/FinancialDataConstants.scala index 316eec93..c17cbbf8 100644 --- a/test/v1/constants/FinancialDataConstants.scala +++ b/test/v1/constants/FinancialDataConstants.scala @@ -43,7 +43,7 @@ object FinancialDataConstants { def financialDataUrl(vrn: String = vrn)(implicit appConfig: AppConfig): String = s"/penalties/penalty/financial-data/VRN/$vrn/VATC" - def financialDataUrlWithConfig(vrn: String = vrn)(implicit appConfig: AppConfig): String = appConfig.penaltiesBaseUrl + s"/penalties/penalty/financial-data/VRN/$vrn/VATC?searchType=CHGREF&searchItem=${searchItem}&addPostedInterestDetails=true&addAccruingInterestDetails=true" + def financialDataUrlWithConfig(vrn: String = vrn)(implicit appConfig: AppConfig): String = appConfig.penaltiesBaseUrl + s"/penalties/penalty/financial-data/VRN/$vrn/VATC?searchType=CHGREF&searchItem=${searchItem}" val testDownstreamFinancialDetailsNoDocumentDetails: JsValue = {