From 707f4699172d08348fac8c306b4c43698643b80e Mon Sep 17 00:00:00 2001 From: okvdai <108829133+okvdai@users.noreply.github.com> Date: Tue, 25 Apr 2023 11:05:45 +0200 Subject: [PATCH] Integrate with v2 of the Tone API #4 --- mod.json | 2 +- mod/scripts/vscripts/pulse.gnut | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mod.json b/mod.json index 6f06e84..836867e 100644 --- a/mod.json +++ b/mod.json @@ -1,7 +1,7 @@ { "Name": "ToneAPI.pulse", "Description": "Displays Tone API kill data in the Stats tab.", - "Version": "1.1.0-prerelease", + "Version": "1.1.0", "LoadPriority": 1, "Scripts": [ { diff --git a/mod/scripts/vscripts/pulse.gnut b/mod/scripts/vscripts/pulse.gnut index ecfe1f9..22d99b9 100644 --- a/mod/scripts/vscripts/pulse.gnut +++ b/mod/scripts/vscripts/pulse.gnut @@ -23,7 +23,7 @@ void function GetStatsFromToneAPI_threaded(){ print("[PULSE] Loaded, getting data...") HttpRequest getStats getStats.method = HttpRequestMethod.GET - getStats.url = "https://tone.sleepycat.date/v2_test/client/weapons" + getStats.url = "https://tone.sleepycat.date/v2/client/weapons" getStats.queryParameters["player"] <- [NSGetLocalPlayerUID().tostring()] void functionref(HttpRequestResponse) onSuccess = void function(HttpRequestResponse response) {