commit 6d4532e065c8b3956dbd51d9795c2ef2b99c1295 parent d6c61967db4090a2d3be19923c288a830fca7948 Author: Gavin Rehkemper <gavin@gavinr.com> Date: Wed, 19 Jul 2017 12:37:01 -0500 fixed - dropped api subdomain in PR Diffstat:
M | index.js | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.js b/index.js @@ -17,8 +17,8 @@ program .action(function(file, options) { co(function*() { var retObject = {}; - retObject.githubUrl = options.github_enterprise || 'github.com'; - if (retObject.githubUrl != 'github.com') { + retObject.githubUrl = options.github_enterprise || 'api.github.com'; + if (retObject.githubUrl != 'api.github.com') { retObject.pathPrefix = '/api/v3' } retObject.token = options.token || '';