|
|
@@ -12,8 +12,8 @@ export function searchPeople(serviceUrl, jwt, text) {
|
|
12
|
12
|
const queryTypes = '["conferenceRooms","user","room"]';
|
|
13
|
13
|
|
|
14
|
14
|
return new Promise((resolve, reject) => {
|
|
15
|
|
- $.getJSON(`${serviceUrl}?query=${encodeURIComponent(text)}
|
|
16
|
|
- &queryTypes=${queryTypes}&jwt=${jwt}`,
|
|
|
15
|
+ $.getJSON(`${serviceUrl}?query=${encodeURIComponent(text)}`
|
|
|
16
|
+ + `&queryTypes=${queryTypes}&jwt=${jwt}`,
|
|
17
|
17
|
response => resolve(response)
|
|
18
|
18
|
).fail((jqxhr, textStatus, error) =>
|
|
19
|
19
|
reject(error)
|