Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add github oauth note when creating new oauth token

  • Loading branch information...
commit 624528d1dafc29a2fda181cff76074398b55072e 1 parent 8958358
@milkypostman milkypostman authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 gh-oauth.el
View
4 gh-oauth.el
@@ -98,7 +98,9 @@
(defmethod gh-oauth-auth-new ((api gh-oauth-api) &optional scopes)
(gh-api-authenticated-request
api (gh-object-reader (oref api auth-cls)) "POST"
- (format "/authorizations") (list (cons 'scopes scopes))))
+ (format "/authorizations") (list (cons 'scopes scopes)
+ (cons 'note (format "gh.el - %s"
+ (system-name))))))
(defmethod gh-oauth-auth-update ((api gh-oauth-api) id &optional scopes)
(gh-api-authenticated-request

0 comments on commit 624528d

Please sign in to comment.
Something went wrong with that request. Please try again.