From 3f25ab21d2b9da55f69933392897b75e70270f35 Mon Sep 17 00:00:00 2001 From: "siva.isikella" <7499500+sivaprakashiv@users.noreply.github.com> Date: Tue, 6 Jul 2021 13:01:14 +0100 Subject: [PATCH] APID-208 - review comments addressed --- .../gov/hmrc/apiplatformoutboundsoap/models/JsonFormats.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/uk/gov/hmrc/apiplatformoutboundsoap/models/JsonFormats.scala b/app/uk/gov/hmrc/apiplatformoutboundsoap/models/JsonFormats.scala index 5a81760..9213896 100644 --- a/app/uk/gov/hmrc/apiplatformoutboundsoap/models/JsonFormats.scala +++ b/app/uk/gov/hmrc/apiplatformoutboundsoap/models/JsonFormats.scala @@ -41,7 +41,7 @@ object JsonFormats { (JsPath \ "wsdlOperation").read[String] and (JsPath \ "messageBody").read[String] and (JsPath \ "addressing").read[Addressing] and - ((JsPath \ "confirmationOfDelivery").read[Boolean].orElse(Reads.pure(appConfig.confirmationOfDelivery)) or Reads.pure(false)) and + (JsPath \ "confirmationOfDelivery").read[Boolean].orElse(Reads.pure(appConfig.confirmationOfDelivery)) and (JsPath \ "notificationUrl").readNullable[String] ) (MessageRequest.apply _) implicit val messageRequestFormatter: OFormat[MessageRequest] = OFormat(messageRequestReads, Json.writes[MessageRequest])