feature(github) auth -> github

This commit is contained in:
coderaiser 2014-09-19 05:46:02 -04:00
parent bb14333ab7
commit c745add934
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@
* @param callback
*/
module.exports = function(code, callback){
exports.auth = function(code, callback){
code = code.replace('code=', '');
Util.log(code);

View file

@ -24,7 +24,7 @@
markdown = require(DIR + 'rest/markdown'),
auth = require(DIR + 'auth'),
github = require(DIR + 'github'),
flop = require(DIR + 'flop'),
pack = require(DIR + 'pack'),
mellow = require(DIR + 'mellow'),
@ -275,7 +275,7 @@
switch(cmd) {
case 'auth':
auth(body, function(error, token) {
github.auth(body, function(error, token) {
callback(error, Util.stringifyJSON({
data: token
}));