Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Nick Satterly
a2d92f1048 Azure raw data should be string not dict 2019-04-02 23:57:47 +02:00
2 changed files with 4 additions and 2 deletions
webhooks/azuremonitor

View file

@ -1,3 +1,5 @@
import json
from dateutil.parser import parse as parse_date
from alerta.models.alert import Alert
@ -111,5 +113,5 @@ class AzureMonitorWebhook(WebhookBase):
origin='Azure Monitor',
type=event_type,
create_time=create_time,
raw_data=payload
raw_data=json.dumps(payload)
)

View file

@ -1,6 +1,6 @@
from setuptools import setup, find_packages
version = '5.0.1'
version = '5.0.2'
setup(
name="alerta-azure-monitor",