Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -13,7 +13,7 @@ async def run_mojo_code(request:Request) -> dict:
|
|
13 |
data_as_str = await request.json()
|
14 |
print(data_as_str)
|
15 |
print(type(data_as_str))
|
16 |
-
data =
|
17 |
code = data["code"]
|
18 |
filename = data["filename"]
|
19 |
|
|
|
13 |
data_as_str = await request.json()
|
14 |
print(data_as_str)
|
15 |
print(type(data_as_str))
|
16 |
+
data = data_as_str
|
17 |
code = data["code"]
|
18 |
filename = data["filename"]
|
19 |
|