Skip to content

Commit

Permalink
[OGUI-1400] Fix issue with deadline not being applied to unary call (#…
Browse files Browse the repository at this point in the history
…2092)

* fixes a bug in which because an empty object was being sent as parameter instead of `undefined`, a deadline was not being applied when making a `NewEnvironment` unary call
  • Loading branch information
graduta authored Aug 23, 2023
1 parent 21d7f8f commit a2530ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Control/lib/control-core/ControlService.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class ControlService {
* @param {JSON} options - optional parameters that are to be set to the gRPC call (e.g deadline)
* @return {Promise}
*/
executeCommandNoResponse(method, body = {}, options = {}) {
executeCommandNoResponse(method, body = {}, options = undefined) {
return this.ctrlProx[method](body, options);
}

Expand Down

0 comments on commit a2530ad

Please sign in to comment.