Add Robot_JoyIt driver

This commit is contained in:
2026-01-17 16:50:07 +01:00
parent e9e50acf5f
commit 0cfb4d5a95
15848 changed files with 570836 additions and 268976 deletions

View File

@@ -190,7 +190,9 @@ Server.prototype.removeMethod = function(name) {
* @return {Method}
*/
Server.prototype.getMethod = function(name) {
return this._methods[name];
if (Object.prototype.hasOwnProperty.call(this._methods, name)) {
return this._methods[name];
}
};
/**
@@ -420,7 +422,8 @@ Server.prototype._batch = function(requests, context, callback) {
// only notifications in request means empty response
if(!filtered.length) {
return callback();
callback();
return;
}
callback(null, filtered);
}