Skip to content

Commit

Permalink
Merge pull request #183 from marcellusm2/fix/webhook-property-validation
Browse files Browse the repository at this point in the history
fix webhook property validation
  • Loading branch information
v1r3n committed Jun 21, 2024
2 parents aefeea5 + fe9c8b5 commit 1ce3318
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void postNotification(
executePost(request);
long duration = System.currentTimeMillis() - start;
if (duration > 100) {
logger.info("Round trip response time = " + (duration) + " millis");
logger.info("Round trip response time = {} millis", duration);
}
}

Expand All @@ -213,7 +213,7 @@ private String prepareUrl(
}
} else if (notifType == RestClientManager.NotificationType.WORKFLOW) {
if (statusNotifier != null
&& StringUtils.isNotBlank(statusNotifier.getEndpointTask())) {
&& StringUtils.isNotBlank(statusNotifier.getEndpointWorkflow())) {
urlEndPoint = statusNotifier.getEndpointWorkflow();
} else {
urlEndPoint = config.getEndpointWorkflow();
Expand Down

0 comments on commit 1ce3318

Please sign in to comment.