diff options
Diffstat (limited to 'src/main/java/at/gv/egiz/moazs')
-rw-r--r-- | src/main/java/at/gv/egiz/moazs/client/TnvzHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/client/TnvzHelper.java b/src/main/java/at/gv/egiz/moazs/client/TnvzHelper.java index 0f6b9a2..20e10f9 100644 --- a/src/main/java/at/gv/egiz/moazs/client/TnvzHelper.java +++ b/src/main/java/at/gv/egiz/moazs/client/TnvzHelper.java @@ -146,7 +146,7 @@ public class TnvzHelper { var mzsIdentification = corporateBody.getIdentification().get(0); var msgIdentification = converter.convert(mzsIdentification); - var msgPerson = FACTORY.createPerson(converter.convert(corporateBody)); + var msgPerson = FACTORY.createCorporateBody(converter.convert(corporateBody)); return senderBuilder() .withIdentification(msgIdentification) |