Skip to content

Commit

Permalink
Also allow empty result for powerautomate
Browse files Browse the repository at this point in the history
  • Loading branch information
Frankisgek committed Dec 11, 2024
1 parent a7271b6 commit 836ff43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TeamsConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function send(TeamsConnectorInterface $card, $curlOptTimeout = 10, $curlO
if (curl_error($ch)) {
throw new \Exception(curl_error($ch), curl_errno($ch));
}
if ($result !== "1") {
if ($result !== "1" && $result !== "") {
throw new \Exception('Error response: ' . $result);
}
}
Expand Down

0 comments on commit 836ff43

Please sign in to comment.