diff --git a/discordwebhookmanager/index.html b/discordwebhookmanager/index.html index d6eef42..16e8d1a 100644 --- a/discordwebhookmanager/index.html +++ b/discordwebhookmanager/index.html @@ -73,7 +73,7 @@ }) }); - if (res.status !== 200) { + if (res.status !== 204) { alert(`Request failed with status code ${res.status} and content "${await res.text()}" (POST ${webhook.url})`); return; }