mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: fmt
This commit is contained in:
@@ -34,7 +34,6 @@ export async function runMethod<T = any>(
|
||||
method,
|
||||
});
|
||||
|
||||
|
||||
if (!result.ok) {
|
||||
const err = await result.json().catch(() => {});
|
||||
throw new Error(`Error: ${err.message ?? result.statusText}`);
|
||||
|
||||
Reference in New Issue
Block a user