diff --git a/src/sentry_dingding/plugin.py b/src/sentry_dingding/plugin.py index 175a779..7be78bc 100644 --- a/src/sentry_dingding/plugin.py +++ b/src/sentry_dingding/plugin.py @@ -61,7 +61,7 @@ def post_process(self, group, event, *args, **kwargs): "text": u"#### {title} \n > {message} [href]({url})".format( title=title, message=event.message, - url=u"{}events/{}/".format(group.get_absolute_url(), event.id), + url=u"{}events/{}/".format(group.get_absolute_url(), event.event_id), ) } }