diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2020-08-20 14:16:54 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-08-25 08:47:07 +0200 |
commit | c1d761cda1629d0f73a5e7d1118550161ed86f3d (patch) | |
tree | 7ea0255deafbaa29446d9fd676e7292a7fb5227d /src/services | |
parent | a8c3f512e3c1c0c2b293cebc91efbba45c5e2e7f (diff) |
rebased to get settings tab, + another round of fixes
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'src/services')
-rw-r--r-- | src/services/bridgeService.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/services/bridgeService.js b/src/services/bridgeService.js index 1e2479c9f..007f7be09 100644 --- a/src/services/bridgeService.js +++ b/src/services/bridgeService.js @@ -32,7 +32,7 @@ import { * @param {string} parts parts of the bridge, where it has to connect */ const editBridge = async function(token, enabled, parts) { - const response = await axios.put(generateOcsUrl('apps/spreed/api/v1', 2) + `room/${token}/bridge`, { + const response = await axios.put(generateOcsUrl('apps/spreed/api/v1', 2) + `bridge/${token}`, { token, enabled, parts, @@ -45,7 +45,7 @@ const editBridge = async function(token, enabled, parts) { * @param {token} token the conversation token. */ const getBridge = async function(token) { - const response = await axios.get(generateOcsUrl('apps/spreed/api/v1', 2) + `room/${token}/bridge`) + const response = await axios.get(generateOcsUrl('apps/spreed/api/v1', 2) + `bridge/${token}`) return response } |