mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 10:14:13 +00:00
feature(util) rm rmStr
This commit is contained in:
parent
b8d146c62e
commit
a1daf8e884
5 changed files with 7 additions and 46 deletions
|
|
@ -58,7 +58,7 @@ var CloudCmd, Util, join, DOM, CloudFunc, Github, cb;
|
|||
DOM.load.ajax({
|
||||
type : 'put',
|
||||
url : apiURL + '/auth',
|
||||
data : Util.rmStr(code, '?code='),
|
||||
data : code.replace('?code=', ''),
|
||||
success : function(data) {
|
||||
var token = Util.json.parse(data).data.token;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue