Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #13 from milkypostman/master

add a note to new github oauth requests
  • Loading branch information...
commit 565b8a0658d6f0edba034633fed5b7d11b764db6 2 parents 8958358 + 624528d
@sigma 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
Please sign in to comment.
Something went wrong with that request. Please try again.