SoUmNerd commited on
Commit
d6b8aa2
1 Parent(s): 7104d7d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -11,7 +11,7 @@ def find_imports(code):
11
  app = FastAPI()
12
 
13
  @app.post("/code")
14
- def run_mojo_code(code:str, filename:str) -> dict[str]:
15
  try:
16
  imports = find_imports(code)
17
  for imported in imports:
 
11
  app = FastAPI()
12
 
13
  @app.post("/code")
14
+ def run_mojo_code(code:str, filename:str) -> dict:
15
  try:
16
  imports = find_imports(code)
17
  for imported in imports: