diff --git a/pymsteams/__init__.py b/pymsteams/__init__.py index 4d1d07e..f5ff94c 100644 --- a/pymsteams/__init__.py +++ b/pymsteams/__init__.py @@ -240,7 +240,7 @@ def send(self): ) self.last_http_response = r - if r.status_code == requests.codes.ok and r.text == '1': # pylint: disable=no-member + if r.status_code == requests.codes.ok: # pylint: disable=no-member return True else: raise TeamsWebhookException(r.text)