History

Update endpoints to be consistent and work with the updates.

Kalila L committed 6 years ago

Commit 9b0ac9d1 parent e3a6dc110 files · +28 −20Browse files

Showing the changes to interface/src/scripting/ScreenshareScriptingInterface.cpp (1 of 10 files). Show all

Unified · Split

interface/src/scripting/ScreenshareScriptingInterface.cpp+1−1
@@ -108,7 +108,7 @@ void ScreenshareScriptingInterface::requestScreenshareInfo() { · 107 unmodified lines
108 // See `DomainServer::screensharePresence()` for more info about that.108 // See `DomainServer::screensharePresence()` for more info about that.
109 109
110 QString currentDomainID = uuidStringWithoutCurlyBraces(addressManager->getDomainID());110 QString currentDomainID = uuidStringWithoutCurlyBraces(addressManager->getDomainID());
111 QString requestURLPath = "api/v1/domains/%1/screenshare";111 QString requestURLPath = "/api/v1/domains/%1/screenshare";
112 JSONCallbackParameters callbackParams;112 JSONCallbackParameters callbackParams;
113 callbackParams.callbackReceiver = this;113 callbackParams.callbackReceiver = this;
114 callbackParams.jsonCallbackMethod = "handleSuccessfulScreenshareInfoGet";114 callbackParams.jsonCallbackMethod = "handleSuccessfulScreenshareInfoGet";