mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
chore(auth) quotes
This commit is contained in:
parent
20f67639c8
commit
06c60c76bc
1 changed files with 4 additions and 4 deletions
|
|
@ -24,10 +24,10 @@
|
|||
Util = main.util,
|
||||
|
||||
GithubAuth = {
|
||||
host: "github.com",
|
||||
host: 'github.com',
|
||||
port: 443,
|
||||
path: "/login/oauth/access_token",
|
||||
method: "POST"
|
||||
path: '/login/oauth/access_token',
|
||||
method: 'POST'
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
Util.log(code);
|
||||
authenticate(code, function(error, token) {
|
||||
var result = { "token": token };
|
||||
var result = { 'token': token };
|
||||
Util.log(error || result);
|
||||
|
||||
Util.exec(callback, error, result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue