From 150b33b483547b1e8df49eb9bb5b149da0b29a0e Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Fri, 24 Jul 2020 13:05:28 +0200 Subject: [PATCH] added api version to init --- ScStwLibraries/sources/client/scstwclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ScStwLibraries/sources/client/scstwclient.cpp b/ScStwLibraries/sources/client/scstwclient.cpp index 2fed168..e9a4ef9 100644 --- a/ScStwLibraries/sources/client/scstwclient.cpp +++ b/ScStwLibraries/sources/client/scstwclient.cpp @@ -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);