Skip to content

Commit

Permalink
fix isSuccessful result
Browse files Browse the repository at this point in the history
  • Loading branch information
heyjorgedev committed Jul 27, 2024
1 parent c767c4a commit e74e803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Responses/MessagePublishResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function __construct(

public function isSuccessful(): bool
{
return $this->statusCode === 200;
return $this->statusCode === 201;
}

public function getErrors(): array
Expand Down

0 comments on commit e74e803

Please sign in to comment.