SoUmNerd commited on
Commit
fbacf15
1 Parent(s): 08b90ab

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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 = json.loads(data_as_str)
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