Skip to content

Commit 558d64b

Browse files
committed
fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent 1e42b2c commit 558d64b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/event-bus/webhook/src/main/java/org/apache/cloudstack/mom/webhook/WebhookApiServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ public WebhookFilterResponse addWebhookFilter(AddWebhookFilterCmd cmd) throws Cl
624624
throw new InvalidParameterValueException("Unable to find the webhook with the specified ID");
625625
}
626626
accountManager.checkAccess(caller, SecurityChecker.AccessType.OperateEntry, false, webhook);
627-
WebhookFilter.Type type = EnumUtils.getEnum(WebhookFilter.Type.class, typeStr, WebhookFilter.Type.EventType);
627+
WebhookFilter.Type type = EnumUtils.getEnumIgnoreCase(WebhookFilter.Type.class, typeStr, WebhookFilter.Type.EventType);
628628
WebhookFilter.Mode mode = WebhookFilter.Mode.Include;
629629
if (StringUtils.isNotBlank(modeStr)) {
630630
mode = EnumUtils.getEnumIgnoreCase(WebhookFilter.Mode.class, modeStr);

0 commit comments

Comments
 (0)