diff --git a/mod.json b/mod.json index 9f97fc5..cfe7e16 100644 --- a/mod.json +++ b/mod.json @@ -11,10 +11,5 @@ "After": "GetStatsFromToneAPI" } } - ], - "ConVars": [ - { - "ToneURL": "https://tone.sleepycat.date/v1" - } ] } \ No newline at end of file diff --git a/mod/scripts/vscripts/pulse.gnut b/mod/scripts/vscripts/pulse.gnut index 3a377d2..36c34e5 100644 --- a/mod/scripts/vscripts/pulse.gnut +++ b/mod/scripts/vscripts/pulse.gnut @@ -9,7 +9,7 @@ void function GetStatsFromToneAPI() print("[PULSE] Pulse Loaded") HttpRequest getStats getStats.method = HttpRequestMethod.GET - getStats.url = "https://tone.sleepycat.date/v1" + "/client/weapons" + getStats.url = "https://tone.sleepycat.date/v1/client/weapons" getStats.queryParameters["player"] <- [NSGetLocalPlayerUID().tostring()] void functionref(HttpRequestResponse) onSuccess = void function(HttpRequestResponse response) {