Skip to content
Snippets Groups Projects
Commit d85892f2 authored by jurgenhaas's avatar jurgenhaas
Browse files
parent 4c1872aa
Branches
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ class CallbackModule(CallbackBase):
if self.pid != '':
values['attributes'] = {"gitlab_project_id": "%s" % self.pid}
if result is not None:
values['rawData'] = json.dumps(result)
values['rawData'] = json.dumps(result._result)
headers = {
'Authorization': 'Key %s' % os.getenv('ALERTA_APIKEY', ''),
'Content-type': 'application/json'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment