diff --git a/src/Responses/MessagePublishResponse.php b/src/Responses/MessagePublishResponse.php index acde4af..c4725f4 100644 --- a/src/Responses/MessagePublishResponse.php +++ b/src/Responses/MessagePublishResponse.php @@ -15,7 +15,7 @@ public function __construct( public function isSuccessful(): bool { - return $this->statusCode === 200; + return $this->statusCode === 201; } public function getErrors(): array