(20241204) Alerts bug resolved.
This commit is contained in:
@@ -160,9 +160,7 @@ class BaseModel:
|
||||
:return: None.
|
||||
"""
|
||||
|
||||
print("Alert time!")
|
||||
if self._http_client is not None and self._alert_url is not None:
|
||||
print("ALERTTT!!!")
|
||||
response = await self._http_client.post(
|
||||
url = self._alert_url,
|
||||
headers = {"X-Session-Token": session_token} if session_token else None,
|
||||
@@ -171,8 +169,6 @@ class BaseModel:
|
||||
"type": alert_type
|
||||
}
|
||||
)
|
||||
print(response)
|
||||
print(response.json())
|
||||
|
||||
async def call_cached_procedure(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user