mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-24 16:42:01 +00:00
fix(operation) RESTful.remove -> RESTful.delete (#132)
In OperationProto class, deleteFn is incorrectly set to RESTful.remove, which is undefined, when socket is disconnected.
This commit is contained in:
parent
7f7489c6a7
commit
750ba5571f
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ function OperationProto(operation, data) {
|
|||
});
|
||||
|
||||
remover.on('disconnect', () => {
|
||||
deleteFn = RESTful.remove;
|
||||
deleteFn = RESTful.delete;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue