Skip to content

Commit

Permalink
APID-208 - review comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaprakashiv committed Jul 6, 2021
1 parent 3712e64 commit 3f25ab2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 3f25ab2

Please sign in to comment.