added api version to init
This commit is contained in:
parent
10b2f7b888
commit
150b33b483
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ bool ScStwClient::init() {
|
|||
}
|
||||
|
||||
// init remote session
|
||||
QJsonObject sessionParams = {{"signalSubscriptions", signalSubs}, {"init", true}, {"usingTerminationKeys", true}};
|
||||
QJsonObject sessionParams = {{"apiVersion", this->API_VERSION}, {"signalSubscriptions", signalSubs}, {"init", true}, {"usingTerminationKeys", true}};
|
||||
|
||||
QVariantMap initResponse = this->sendCommand(1, sessionParams, 3000, false);
|
||||
|
||||
|
|
Reference in a new issue