This commit is contained in:
2023-08-29 20:06:52 +02:00
parent 7c2eec4446
commit 25702c073a
225 changed files with 1071 additions and 808 deletions

View File

@@ -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/fullscreen/toggle")
axios_1.default
.get("http://".concat(connection.properties.ip, ":").concat(connection.properties.port, "/v1/fullscreen/toggle"))
.then(function () {
status('Action completed');
})["catch"](function () {
})
.catch(function () {
status('Unable to reach Zoom-Bridge');
});
}