chore: full stack stability and migration fixes, plus react UI progress
This commit is contained in:
@@ -16,9 +16,11 @@ async fn main() {
|
||||
let payload = Some(json!({"test": "data"}));
|
||||
let headers = HashMap::new();
|
||||
|
||||
let env_vars = HashMap::new();
|
||||
|
||||
println!("Starting execution...");
|
||||
match runtime.execute(code, payload, headers).await {
|
||||
Ok((stdout, stderr, status, res_headers)) => {
|
||||
match runtime.execute(code, payload, headers, env_vars).await {
|
||||
Ok((stdout, stderr, status, res_headers, logs)) => {
|
||||
println!("Success!");
|
||||
println!("Status: {}", status);
|
||||
println!("Stdout: {}", stdout);
|
||||
|
||||
Reference in New Issue
Block a user