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)