From 98229ce870ea610a423dcc7781fcbdce20084d25 Mon Sep 17 00:00:00 2001 From: Alexandr Volga Date: Tue, 24 Sep 2024 16:55:57 +0300 Subject: [PATCH] Fix delete tag --- src/AircallTags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AircallTags.php b/src/AircallTags.php index e22bf4e..08b227c 100644 --- a/src/AircallTags.php +++ b/src/AircallTags.php @@ -82,7 +82,7 @@ public function delete(int $id) { $path = $this->tagPath($id); - return $this->client->get($path); + return $this->client->delete($path); } public function tagPath(int $id): string