Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Fix json parse error

Tomas Valenta514efe37d265
diff --git a/api-service/app.py b/api-service/app.py
index b8d60708a..00f83fa22 100644
--- a/api-service/app.py
+++ b/api-service/app.py
@@ -80,7 +80,7 @@ def generate():
url = playground.deploy(project_id, envs)
db.finish_deployment(run_id=run_id, url=url)
- return "", 204
+ return {}
except:
db.update_state(run_id=run_id, state=DeploymentState.Error)
raise