fix: socketio spawn error (#19070)
* fix: socketio spawn error Restarting supervisorctl fails when attempting to spawn the instance due to syntax. * refactor: accurate expansion of optional chaining Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
This commit is contained in:
parent
ef5c618954
commit
3885833764
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ function can_subscribe_list(args) {
|
|||
}
|
||||
return false;
|
||||
} else if (res.status == 200) {
|
||||
args?.callback(err, res);
|
||||
args.callback && args.callback(err, res);
|
||||
return true;
|
||||
}
|
||||
log("ERROR (can_subscribe_list): ", err, res);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue