Updated request to match API

This commit is contained in:
Pierre 2018-01-01 15:45:03 +01:00
parent 9a2e3e5351
commit cd49889614

View File

@ -70,7 +70,7 @@ ComunicWeb.components.searchForm = {
footerLink.setAttribute("data-searchValue", textInput.value); footerLink.setAttribute("data-searchValue", textInput.value);
//Perform a request on the server //Perform a request on the server
apiURI = "search/request"; apiURI = "search/user";
params = { params = {
query: textInput.value, query: textInput.value,
}; };