Permalink
Browse files

add github oauth note when creating new oauth token

  • Loading branch information...
1 parent 8958358 commit 624528d1dafc29a2fda181cff76074398b55072e @milkypostman committed Sep 27, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 gh-oauth.el
View
@@ -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.