6
6
#pragma newdecls required
7
7
#pragma semicolon 1
8
8
9
- #define VERSION " 1.1 .0"
9
+ #define VERSION " 1.3 .0"
10
10
11
11
char g_sWebhookToken [128 ];
12
12
@@ -60,7 +60,7 @@ public Action TestUpload(int client, int args)
60
60
GetConVarString (g_hCvarApiUrl , BaseUrl , sizeof (BaseUrl ));
61
61
62
62
// Complete the baseUrl
63
- Format (FullUrl , sizeof (FullUrl ), " %s /v1/ webhooks/test" , BaseUrl );
63
+ Format (FullUrl , sizeof (FullUrl ), " %s /webhooks/test" , BaseUrl );
64
64
65
65
PrintToServer (" [Payload] Testing webhook..." );
66
66
PrintToChatAll (" [Payload] Testing webhook..." );
@@ -90,7 +90,7 @@ public int LogUploaded(bool success, const char[] logid, const char[] url)
90
90
GetConVarString (g_hCvarApiUrl , BaseUrl , sizeof (BaseUrl ));
91
91
92
92
// Complete the baseUrl
93
- Format (FullUrl , sizeof (FullUrl ), " %s /v1/ webhooks/logs" , BaseUrl );
93
+ Format (FullUrl , sizeof (FullUrl ), " %s /webhooks/logs" , BaseUrl );
94
94
95
95
// For debug purposes:
96
96
PrintToServer (" FullURL: %s " , FullUrl );
@@ -160,4 +160,4 @@ public int TestWebhookComplete(Handle hRequest, bool bFailure, bool bRequestSucc
160
160
}
161
161
162
162
delete hRequest ;
163
- }
163
+ }
0 commit comments