summaryrefslogtreecommitdiff
path: root/jira-widget
diff options
context:
space:
mode:
Diffstat (limited to 'jira-widget')
-rw-r--r--jira-widget/jira.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/jira-widget/jira.lua b/jira-widget/jira.lua
index 652767a..b876c0b 100644
--- a/jira-widget/jira.lua
+++ b/jira-widget/jira.lua
@@ -97,13 +97,13 @@ local function worker(args)
for i = 0, #rows do rows[i]=nil end
for _, issue in ipairs(result.issues) do
- local path_to_avatar = os.getenv("HOME") ..'/.cache/awmw/jira-widget/avatars/' .. issue.fields.assignee.key
+ local path_to_avatar = os.getenv("HOME") ..'/.cache/awmw/jira-widget/avatars/' .. issue.fields.assignee.accountId
if not gfs.file_readable(path_to_avatar) then
spawn.easy_async(string.format(
DOWNLOAD_AVATAR_CMD,
HOME_DIR,
- issue.fields.assignee.key,
+ issue.fields.assignee.accountId,
issue.fields.assignee.avatarUrls['48x48']))
end