From 409bfab0533bd29efe8dd05b9b058803578d9266 Mon Sep 17 00:00:00 2001 From: Michelle Date: Sat, 6 Mar 2021 06:23:41 -0500 Subject: [PATCH] Fixing the build --- pom.xml | 2 +- src/main/java/org/folio/ncip/FolioNcipHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {