fix(gs/emacs): Use html_url when linking to PRs

'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
This commit is contained in:
Griffin Smith 2020-09-18 09:40:10 -04:00 committed by glittershark
parent cb0d3ad416
commit 781870f288

View file

@ -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"