We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b31036c commit e52dc4aCopy full SHA for e52dc4a
2 files changed
composer.json
@@ -1,7 +1,7 @@
1
{
2
"name": "simplepay-ai/api-client",
3
"description": "SimplePay API Client",
4
- "version": "0.0.2",
+ "version": "0.0.3",
5
"type": "library",
6
"license": "MIT",
7
"autoload": {
src/Services/UserPATService.php
@@ -47,16 +47,14 @@ public function create(PATCreateRequest $request): PAT
47
return $this->data(PAT::class, $res);
48
}
49
50
- public function delete(string $id): PAT
+ public function delete(string $id): void
51
52
$res = $this->request('DELETE', sprintf('/%s?v=1', $id));
53
54
$status = $res->getStatusCode();
55
56
- if ($status !== 200) {
+ if ($status !== 204) {
57
throw new HttpException('', $status);
58
59
-
60
- return $this->data(PAT::class, $res);
61
62
0 commit comments