Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

Commit ac56a31

Browse files
authored
Merge pull request #3 from inseltreff-net/AllRoundJonU-patch-1
Update webhook.lua
2 parents e33008c + 2023fab commit ac56a31

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

server/webhook.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ local errors = {
1212
[502] = "Discord is having internal server issues!",
1313
[503] = "Discord is having internal server issues!",
1414
[504] = "Discord is having internal server issues!",
15-
16-
[nil] = "The webhook message could not be sent because the HTTP request failed!",
1715
}
1816

1917
RegisterNetEvent('it-smallheists:server:sendWebhook')
@@ -89,4 +87,4 @@ function sendWebhook(source, title, message, color, ping)
8987
Config.Webhook['active'] = false
9088
end
9189
end, 'POST', json.encode(postData), { ['Content-Type'] = 'application/json' })
92-
end
90+
end

0 commit comments

Comments
 (0)