From 6e9e96988f9f487c57b82520178a970f370b7588 Mon Sep 17 00:00:00 2001 From: Maik Penz Date: Mon, 22 Aug 2016 15:16:07 +0200 Subject: [PATCH] fix command order https://trello.com/docs/api/card/#delete-1-cards-card-id-or-shortlink-actions-idaction-comments --- lib/Trello/Api/Card/Actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Trello/Api/Card/Actions.php b/lib/Trello/Api/Card/Actions.php index a87032b..c264caf 100644 --- a/lib/Trello/Api/Card/Actions.php +++ b/lib/Trello/Api/Card/Actions.php @@ -53,6 +53,6 @@ public function addComment($id, $text) */ public function removeComment($id, $commentId) { - return $this->delete($this->getPath($id).'/comments/'.rawurlencode($commentId)); + return $this->delete($this->getPath($id).'/'.rawurlencode($commentId).'/comments'); } }