about summary refs log tree commit diff
path: root/users/glittershark/emacs.d/org-config.el
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-09-18T13·40-0400
committerglittershark <grfn@gws.fyi>2020-09-18T13·42+0000
commit781870f2881cc5c2d473d0e5f87767179bec773b (patch)
treebd4a7e7189a8d37b956201274172cd9c937d7f2c /users/glittershark/emacs.d/org-config.el
parentcb0d3ad4167904142e3decd6f0bbac5a587edbd7 (diff)
fix(gs/emacs): Use html_url when linking to PRs r/1800
'url is the API url of the PR, we want html_url to link to the web UI

Change-Id: I058592cde8c01e0feb5f7d51b577f1c41137a717
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1989
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/glittershark/emacs.d/org-config.el')
-rw-r--r--users/glittershark/emacs.d/org-config.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/glittershark/emacs.d/org-config.el b/users/glittershark/emacs.d/org-config.el
index c72a7c968710..651582d06d4d 100644
--- a/users/glittershark/emacs.d/org-config.el
+++ b/users/glittershark/emacs.d/org-config.el
@@ -151,7 +151,7 @@
     (lambda (value headers status req)
       (prog1 (funcall cb value headers status req)
         (grfn/at-org-clocked-in-item
-         (let ((url (alist-get 'url value))
+         (let ((url (alist-get 'html_url value))
                (number (alist-get 'number value)))
            (org-set-property
             "pull-request"