Skip to content

Commit

Permalink
LCH-6901 | Fix for ach-cfd command.
Browse files Browse the repository at this point in the history
  • Loading branch information
kirtigarg2584 committed Sep 24, 2024
1 parent 0ce293b commit 4c746fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ContentHubClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@ public function addFilterToWebhook($filter_id, $webhook_id) {
*/
public function removeFilterFromWebhook($filter_id, $webhook_id) {
$options = ['body' => json_encode(['filter_id' => $filter_id])];
$response = $this->delete("settings/webhooks/$webhook_id/filters", $options);
$response = $this->delete("filters/$filter_id/subscriptions/$webhook_id");

return self::getResponseJson($response);
}
Expand Down

0 comments on commit 4c746fa

Please sign in to comment.