diff options
Diffstat (limited to 'src/services/signalingService.js')
-rw-r--r-- | src/services/signalingService.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/services/signalingService.js b/src/services/signalingService.js index bf0c6dd01..4c3ae8017 100644 --- a/src/services/signalingService.js +++ b/src/services/signalingService.js @@ -23,10 +23,11 @@ import { generateOcsUrl } from '@nextcloud/router' /** * Fetches the signaling settings for a conversation + * * @param {string} token The token of the conversation to be signaled. * @param {object} options options */ -const fetchSignalingSettings = async({ token }, options) => { +const fetchSignalingSettings = async ({ token }, options) => { return axios.get(generateOcsUrl('apps/spreed/api/v3/signaling/settings'), Object.assign(options, { params: { token, @@ -34,11 +35,11 @@ const fetchSignalingSettings = async({ token }, options) => { })) } -const pullSignalingMessages = async(token, options) => { +const pullSignalingMessages = async (token, options) => { return axios.get(generateOcsUrl('apps/spreed/api/v3/signaling/{token}', { token }), options) } -const getWelcomeMessage = async(serverId) => { +const getWelcomeMessage = async (serverId) => { return axios.get(generateOcsUrl('apps/spreed/api/v3/signaling/welcome/{serverId}', { serverId })) } |