Search
This commit is contained in:
@@ -44,10 +44,7 @@ async function updateSearch () {
|
||||
positions.push("NOPE");
|
||||
}
|
||||
|
||||
let resultObject = await postData("/getPlayers", {
|
||||
player: document.getElementById("query").value || "%",
|
||||
positions: positions
|
||||
}, token);
|
||||
let resultObject = await postData("/getPasswords", {}, token);
|
||||
|
||||
if (resultObject.matches.length === 0) {
|
||||
nomatch.style.display = "";
|
||||
|
||||
Reference in New Issue
Block a user