Merge branch 'development' of https://github.com/ToneAPI/pulse into development

This commit is contained in:
2023-04-19 19:44:11 +02:00
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -11,10 +11,5 @@
"After": "GetStatsFromToneAPI"
}
}
],
"ConVars": [
{
"ToneURL": "https://tone.sleepycat.date/v1"
}
]
}
+1 -1
View File
@@ -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)
{