Fix capitalization of Github -> GitHub

This commit is contained in:
Devon Zuegel
2021-09-16 21:51:59 -04:00
committed by Tienson Qin
parent 44b7f3ecf1
commit 206dc3f3f3
8 changed files with 94 additions and 95 deletions

View File

@@ -167,8 +167,7 @@
:view/components {}
:debug/write-acks {}
})))
:debug/write-acks {}})))
(defn sub
@@ -695,7 +694,7 @@
(fn [{:keys [installation_id] :as repo}]
(let [{:keys [token] :as m} (get tokens installation_id)]
(if (string? token)
;; Github API returns a expires_at key which is a timestamp (expires after 60 minutes at present),
;; GitHub API returns a expires_at key which is a timestamp (expires after 60 minutes at present),
;; however, user's system time may be inaccurate. Here, based on the client system time, we use
;; 40-minutes interval to deal with some critical conditions, for e.g. http request time consume.
(let [formatter (tf/formatters :date-time-no-ms)