Skip to content

Commit

Permalink
Merge pull request #506 from zendesk/asee/fix-delete-webhook-2
Browse files Browse the repository at this point in the history
fix: remove .json
  • Loading branch information
7ail committed Jul 11, 2023
2 parents d327136 + c86695f commit 453c977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Zendesk/API/Resources/Core/Webhooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ protected function setUpRoutes()

$this->setRoutes([
'create' => "{$this->resourceName}",
'update' => "{$this->resourceName}/{id}.json",
'delete' => "{$this->resourceName}/{id}.json",
'update' => "{$this->resourceName}/{id}",
'delete' => "{$this->resourceName}/{id}",
'findAll' => "{$this->resourceName}",
]);
}
Expand Down

0 comments on commit 453c977

Please sign in to comment.