diff --git a/build.gradle b/build.gradle index 02ec03d..4de19cd 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id 'application' - id "com.diffplug.spotless" version "8.10.2" + id "com.diffplug.spotless" version "8.10.3" id 'jvm-test-suite' } diff --git a/pom.xml b/pom.xml index 87bcbb1..ffb3b99 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ com.diffplug.spotless spotless-maven-plugin - 3.10.2 + 3.10.3 diff --git a/src/main/java/listeners/actions/SampleBlockActionListener.java b/src/main/java/listeners/actions/SampleBlockActionListener.java index a73411d..d7618df 100644 --- a/src/main/java/listeners/actions/SampleBlockActionListener.java +++ b/src/main/java/listeners/actions/SampleBlockActionListener.java @@ -40,9 +40,10 @@ public Response apply(BlockActionRequest req, ActionContext ctx) throws IOExcept var viewForTheCategory = buildViewByCategory(categoryId, privateMetadata); try { - var viewsUpdateResponse = ctx.client().viewsUpdate(r -> r.viewId(currentView.getId()) - .hash(currentView.getHash()) - .view(viewForTheCategory)); + var viewsUpdateResponse = ctx.client() + .viewsUpdate(r -> r.viewId(currentView.getId()) + .hash(currentView.getHash()) + .view(viewForTheCategory)); if (!viewsUpdateResponse.isOk()) { ctx.logger.error(viewsUpdateResponse.toString()); }