Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-03-04 22:28:02 +0300
committerJoas Schilling <coding@schilljs.com>2021-03-08 13:56:21 +0300
commita3cf504fda348e4e202328262895a3ffe7b65cc9 (patch)
tree83968563b67e990769f77213e64e2fbd2dfb12b1 /src/utils/signaling.js
parent5ed91b8c40d4f4fecd2eb9db27f25f53802a6709 (diff)
Move to APIv4
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/utils/signaling.js')
-rw-r--r--src/utils/signaling.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/signaling.js b/src/utils/signaling.js
index d65ea53d2..af501fe5e 100644
--- a/src/utils/signaling.js
+++ b/src/utils/signaling.js
@@ -242,7 +242,7 @@ Signaling.Base.prototype._joinCallSuccess = function(/* token */) {
Signaling.Base.prototype.joinCall = function(token, flags) {
return new Promise((resolve, reject) => {
- axios.post(generateOcsUrl('apps/spreed/api/v1/call', 2) + token, {
+ axios.post(generateOcsUrl('apps/spreed/api/v4/call', 2) + token, {
flags: flags,
})
.then(function() {
@@ -273,7 +273,7 @@ Signaling.Base.prototype.leaveCall = function(token, keepToken) {
return
}
- axios.delete(generateOcsUrl('apps/spreed/api/v1/call', 2) + token)
+ axios.delete(generateOcsUrl('apps/spreed/api/v4/call', 2) + token)
.then(function() {
this._trigger('leaveCall', [token, keepToken])
this._leaveCallSuccess(token)