Permalink
Browse files

simplify code

  • Loading branch information...
1 parent 436fe5d commit 77db4cda4baf12a6a93ceca29cecc8b335b48c2b @sigma committed Mar 18, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 gh-api.el
View
@@ -109,8 +109,7 @@
(defmethod constructor :static ((api gh-api-v3) newname &rest args)
(let ((obj (call-next-method))
- (gh-profile-current-profile (or gh-profile-current-profile
- gh-profile-default-profile)))
+ (gh-profile-current-profile (gh-profile-current-profile)))
(oset obj :profile (gh-profile-current-profile))
(oset obj :base (gh-profile-url))
(gh-api-set-default-auth obj

0 comments on commit 77db4cd

Please sign in to comment.