diff --git a/pom.xml b/pom.xml index b5d7871..9a0d488 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ - 4.0.0 + 3.8.0 UTF-8 UTF-8 11 diff --git a/src/main/java/org/folio/ncip/FolioNcipHelper.java b/src/main/java/org/folio/ncip/FolioNcipHelper.java index ca1b32d..4ae5211 100644 --- a/src/main/java/org/folio/ncip/FolioNcipHelper.java +++ b/src/main/java/org/folio/ncip/FolioNcipHelper.java @@ -54,7 +54,7 @@ public class FolioNcipHelper { public FolioNcipHelper(Promise promise) { Future steps = initToolkitDefaults(); - steps.onComplete(ar -> { + steps.setHandler(ar -> { if (ar.succeeded()) { promise.complete(); } else {