Bugfixes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
exports.__esModule = true;
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var axios_1 = require("axios");
|
||||
module.exports = function (actionAPI) {
|
||||
actionAPI.handle(function (properties, status) {
|
||||
@@ -7,11 +7,12 @@ module.exports = function (actionAPI) {
|
||||
: 'none';
|
||||
if (connectionID != 'none') {
|
||||
var connection = actionAPI.getConnection('zoom-bridge', connectionID);
|
||||
axios_1["default"]
|
||||
.get("http://" + connection.properties.ip + ":" + connection.properties.port + "/v1/screenshare/toggle")
|
||||
axios_1.default
|
||||
.get("http://".concat(connection.properties.ip, ":").concat(connection.properties.port, "/v1/screenshare/toggle"))
|
||||
.then(function () {
|
||||
status('Action completed');
|
||||
})["catch"](function () {
|
||||
})
|
||||
.catch(function () {
|
||||
status('Unable to reach Zoom-Bridge');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user