From db86842fbc4141ef0972dcbdaac5a419e784d824 Mon Sep 17 00:00:00 2001 From: Pavel Makhov Date: Wed, 3 Mar 2021 08:53:37 -0500 Subject: [PATCH] fix link for the comment in issue event --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 32e023d..2147140 100644 --- a/init.lua +++ b/init.lua @@ -59,7 +59,7 @@ local function generate_action_string(event) icon = hs.styledtext.new(' ', { font = {name = 'feather', size = 12 }, color = {hex = '#8e8e8e'}}) elseif (event.type == "IssueCommentEvent") then action_string = event.payload.action == 'created' and 'commented in issue' or event.payload.action .. ' a comment in' - link = event.issue_url + link = event.payload.issue.html_url icon = hs.styledtext.new(' ', { font = {name = 'feather', size = 12 }, color = {hex = '#8e8e8e'}}) elseif (event.type == "WatchEvent") then action_string = 'starred'