Player search
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
export async function postData(url, data, token = null) {
|
||||
const elements = url.split("/");
|
||||
console.log(elements);
|
||||
const end = elements[elements.length - 1];
|
||||
console.log(end);
|
||||
|
||||
const res = await fetch(end, token == null ? {
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user