Skip to content

Commit 836ff43

Browse files
committed
Also allow empty result for powerautomate
1 parent a7271b6 commit 836ff43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TeamsConnector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function send(TeamsConnectorInterface $card, $curlOptTimeout = 10, $curlO
4242
if (curl_error($ch)) {
4343
throw new \Exception(curl_error($ch), curl_errno($ch));
4444
}
45-
if ($result !== "1") {
45+
if ($result !== "1" && $result !== "") {
4646
throw new \Exception('Error response: ' . $result);
4747
}
4848
}

0 commit comments

Comments
 (0)