mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix network_http test
This commit is contained in:
parent
ee7ae3b9f6
commit
2204cb795e
1 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,9 @@ local response_received = false
|
|||
network.get("https://api.github.com/repos/MihailRis/VoxelEngine-Cpp/releases/latest", function (s)
|
||||
print(json.parse(s).name)
|
||||
response_received = true
|
||||
end, function (code)
|
||||
print("repond with code", code)
|
||||
response_received = true
|
||||
end)
|
||||
|
||||
app.sleep_until(function () return response_received end, nil, 10)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue