mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 17:00:08 +00:00
cleanup
This commit is contained in:
@@ -155,7 +155,7 @@ async function runMethod(
|
||||
.join("&")
|
||||
: "";
|
||||
const urlToUse = method === "get" && query ? `${url}?${query}` : url;
|
||||
console.log("url thing", urlToUse);
|
||||
|
||||
const response = await fetch(urlToUse, createRequestBody(body, method));
|
||||
const bucketIDFromHeaders = processHeaders(url, response.headers);
|
||||
handleStatusCode(response);
|
||||
|
||||
Reference in New Issue
Block a user