fix most of the script errors and warnings, fixed a couple tiny bugs in the process :)

This commit is contained in:
Haze Weathers 2024-03-08 15:11:48 -05:00
parent 9435089f21
commit 72733db609
23 changed files with 55 additions and 63 deletions

View file

@ -174,6 +174,8 @@ func request_execute(component: String, parameters: Dictionary = {}, echo: Strin
var body = "input=" + to_json(request).percent_encode()
# make request
var err = http.request(GATEWAY_URI, headers, true, HTTPClient.METHOD_POST, body)
if err != OK:
push_error("Invalid HTTP request")
# yield response
yield(http, "request_completed")
return _response