aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java b/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java
index 9a00282..7dddbf1 100644
--- a/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java
+++ b/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java
@@ -53,7 +53,7 @@ public class Mzs2MsgConverter {
private DeliveryRequestTypeBuilder setupBuilder(at.gv.zustellung.app2mzs.xsd.DeliveryRequestType mzsRequest) {
return deliveryRequestTypeBuilder()
- .withVersion("2.0.0") //todo: remove hardcoded version
+ .withVersion(NameSpace.MSG_VERSION)
.withSender(convert(mzsRequest.getSender()))
.withMetaData(mzsRequest.getMetaData())
.withAttachments(convertPayloads(mzsRequest.getPayload()));