mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-25 17:04:16 +00:00
refactor(auth) req: write, end -> end
This commit is contained in:
parent
06c60c76bc
commit
c4310904d7
1 changed files with 1 additions and 2 deletions
|
|
@ -85,8 +85,7 @@
|
|||
});
|
||||
});
|
||||
|
||||
req.write(data);
|
||||
req.end();
|
||||
req.end(data);
|
||||
|
||||
req.on('error', function(e) {
|
||||
Util.exec(callback, e.message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue