fix async scan

This commit is contained in:
zurdi zurdo
2023-04-10 19:15:30 +02:00
parent 0da2413a3e
commit 93aebbec11

View File

@@ -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...")