Remove OperationsPostPath
[netconf.git] / restconf / restconf-nb / src / main / java / org / opendaylight / restconf / nb / jaxrs / JaxRsRestconf.java
index 4a59c104e7897b7ea85e5e683263d6ff35c52667..9ed12ea8c7e4fa6fd9f4c632f0668faf2999262a 100644 (file)
@@ -761,7 +761,7 @@ public final class JaxRsRestconf implements ParamConverterProvider {
                 Response transform(final OperationsPostResult result) {
                     final var body = result.output();
                     return body == null ? Response.noContent().build()
-                        : Response.ok().entity(new NormalizedNodePayload(result.operation(), body)).build();
+                        : Response.ok().entity(new NormalizedNodePayload(result.path().inference(), body)).build();
                 }
             });
     }