Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(add-people): remove line break from searchPeople request

Leonard Kim1ad614e812d0
diff --git a/react/features/invite/functions.js b/react/features/invite/functions.js
index a96829565a..b05cce57a0 100644
--- a/react/features/invite/functions.js
+++ b/react/features/invite/functions.js
@@ -12,8 +12,8 @@ export function searchPeople(serviceUrl, jwt, text) {
const queryTypes = '["conferenceRooms","user","room"]';
return new Promise((resolve, reject) => {
- $.getJSON(`${serviceUrl}?query=${encodeURIComponent(text)}
- &queryTypes=${queryTypes}&jwt=${jwt}`,
+ $.getJSON(`${serviceUrl}?query=${encodeURIComponent(text)}`
+ + `&queryTypes=${queryTypes}&jwt=${jwt}`,
response => resolve(response)
).fail((jqxhr, textStatus, error) =>
reject(error)