mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
feature(storage) get: callback(data) -> callback(error, data)
This commit is contained in:
parent
ce0ce29d6d
commit
243e1f12bf
7 changed files with 11 additions and 12 deletions
|
|
@ -52,7 +52,7 @@ var CloudCmd, Util, DOM, CloudFunc, Github, cb;
|
|||
|
||||
|
||||
GitHub.autorize = function(callback, code) {
|
||||
Storage.get('token', function(token) {
|
||||
Storage.get('token', function(error, token) {
|
||||
var isContain,
|
||||
apiURL = CloudFunc.apiURL,
|
||||
URL = '//' + window.location.host + '/auth/github';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue