Update search path

This commit is contained in:
Michał Gdula 2023-06-12 13:54:21 +01:00
parent 7cdb22984b
commit 966d377adb
2 changed files with 27 additions and 7 deletions

View file

@ -37,7 +37,7 @@ function getSearch() {
return;
}
fetch('/api/users?search=' + search.toString(), {
fetch('/api/search?q=' + search.toString(), {
method: 'GET',
})
.then(response => response.json())