Update OnlineCourse.lua

This commit is contained in:
Jonny_Bro (Nikita) 2023-08-14 20:04:02 +05:00
parent ec8a61a291
commit 14b4d71f45

View file

@ -9,7 +9,7 @@ function UploadCourse()
http.Post(url, { http.Post(url, {
key = apikey:GetString(), key = apikey:GetString(),
map = game.GetMap(), map = string.Replace(game.GetMap(), " ", "-"),
course_data = util.Base64Encode(filedata, true) course_data = util.Base64Encode(filedata, true)
}, },
function(body, length, headers, code) -- onSuccess function function(body, length, headers, code) -- onSuccess function