about summary refs log tree commit diff
path: root/users/glittershark/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'users/glittershark/emacs.d')
-rw-r--r--users/glittershark/emacs.d/org-gcal.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/glittershark/emacs.d/org-gcal.el b/users/glittershark/emacs.d/org-gcal.el
index 183dfbd5a725..361daaac42f5 100644
--- a/users/glittershark/emacs.d/org-gcal.el
+++ b/users/glittershark/emacs.d/org-gcal.el
@@ -25,6 +25,7 @@
 (cl-defun google--request (url &key method params scope)
   (let ((p (aio-promise))
         (auth-token (google--get-token scope gcal-client-id gcal-client-secret)))
+    (oauth2-refresh-access auth-token)
     (oauth2-url-retrieve
      auth-token
      url