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

Commit c8beeaa

Browse files
committed
Fix webhook error
1 parent 8085a18 commit c8beeaa

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

fxmanifest.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ game 'gta5'
44
author 'Inseltreff'
55
description 'A heist script for the QBCore Framework'
66

7-
version '1.2.5'
7+
version '1.2.6'
88

99
shared_scripts {
1010
-- config files

server/webhook.lua

Lines changed: 0 additions & 2 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')

version

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "1.2.5",
3-
"message": "All known issues have been fixed. Please update to the latest version."
2+
"version": "1.2.6",
3+
"message": "Fix nill value error in webhook.lua"
44
}

0 commit comments

Comments
 (0)