(20241204) Alerts bug resolved.

This commit is contained in:
2024-12-04 17:44:39 +05:30
parent b50c61c079
commit 04bbe91f2c
2 changed files with 1 additions and 231 deletions
-4
View File
@@ -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,