mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 10:32:57 +01:00
fix async scan
This commit is contained in:
@@ -27,7 +27,7 @@ def startup() -> None:
|
||||
|
||||
|
||||
@app.put("/scan")
|
||||
def scan(req: Request, full_scan: bool=False, overwrite: bool=False) -> dict:
|
||||
async def scan(req: Request, full_scan: bool=False, overwrite: bool=False) -> dict:
|
||||
"""Scan platforms and roms and write them in database."""
|
||||
|
||||
log.info("complete scaning...")
|
||||
|
||||
Reference in New Issue
Block a user