Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Commit af963e0

Browse files
upates
1 parent 4d039db commit af963e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WhatsApp.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ public function Create($admin_key, $key, $body)
7272

7373
public function Delete($admin_key, $key)
7474
{
75-
$this->parth = "/instance/delete?key={$key}&admin_key={$admin_key}";
75+
$this->parth = "/manager/delete?key={$key}&admin_key={$admin_key}";
7676
$this->method = "DELETE";
7777
return $this->request();
7878
}
7979

8080
public function Block($admin_key, $key, $block)
8181
{
8282
$this->parth = "/manager/block?key={$key}&admin_key={$admin_key}&block={$block}";
83-
$this->method = "DELETE";
83+
$this->method = "PUT";
8484
return $this->request();
8585
}
8686

0 commit comments

Comments
 (0)