Add subcription feature
This commit is contained in:
@@ -65,7 +65,7 @@ class AlertProcessorClient(BaseServiceClient):
|
||||
result = await self.post(
|
||||
f"tenants/{tenant_id}/alerts/acknowledge-by-metadata",
|
||||
tenant_id=str(tenant_id),
|
||||
json=payload
|
||||
data=payload
|
||||
)
|
||||
|
||||
if result and result.get("success"):
|
||||
@@ -127,7 +127,7 @@ class AlertProcessorClient(BaseServiceClient):
|
||||
result = await self.post(
|
||||
f"tenants/{tenant_id}/alerts/resolve-by-metadata",
|
||||
tenant_id=str(tenant_id),
|
||||
json=payload
|
||||
data=payload
|
||||
)
|
||||
|
||||
if result and result.get("success"):
|
||||
|
||||
Reference in New Issue
Block a user