We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69e0a7f commit d4900e8Copy full SHA for d4900e8
1 file changed
lib/server/Service.js
@@ -13,7 +13,7 @@
13
* *
14
* Hprose Service for Node.js. *
15
16
- * LastModified: Mar 29, 2018 *
+ * LastModified: Apr 12, 2018 *
17
* Author: Ma Bingyao <andot@hprose.com> *
18
19
\**********************************************************/
@@ -519,9 +519,9 @@ function Service() {
519
function remove(alias) {
520
var name = alias.toLowerCase();
521
if (_calls[name]) {
522
- var index = _name.indexOf(alias);
+ var index = _names.indexOf(alias);
523
if (index >= 0) {
524
- _name.splice(index, 1);
+ _names.splice(index, 1);
525
}
526
delete _calls[name];
527
0 commit comments