diff --git a/client-common/src/main/java/eu/arrowhead/common/api/clients/core/EventHandlerClient.java b/client-common/src/main/java/eu/arrowhead/common/api/clients/core/EventHandlerClient.java index 80716a4..6550a4d 100644 --- a/client-common/src/main/java/eu/arrowhead/common/api/clients/core/EventHandlerClient.java +++ b/client-common/src/main/java/eu/arrowhead/common/api/clients/core/EventHandlerClient.java @@ -137,7 +137,7 @@ public void subscribe(String eventType, ArrowheadSystem consumer, String notifyP public void unsubscribe(ArrowheadSystem consumer, String eventType) { String consumerName = consumer.getSystemName(); - request(Method.DELETE, SUBSCRIPTION_URI.clone().path("subscription").path("type").path(eventType).path("consumer").path(consumerName)); + request(Method.DELETE, SUBSCRIPTION_URI.clone().path("type").path(eventType).path("consumer").path(consumerName)); final Map> handlerSubscriptions = subscriptions.get(this); final Set consumerSubscriptions = handlerSubscriptions != null ? handlerSubscriptions.get(consumer) : null;