Skip to content

Commit 351c4f5

Browse files
committed
2 parents 11f0101 + e1a0d92 commit 351c4f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ async def deleteScan(scan:ScanBase, background_tasks: BackgroundTasks):
587587
else:
588588
print(f"The directory {scan.filename} does not exist.")
589589

590-
@app.post("/sunscan/snapshots/delete/all/", response_class=JSONResponse)
590+
@app.get("/sunscan/snapshots/delete/all/", response_class=JSONResponse)
591591
async def deleteAllSnapshots(background_tasks: BackgroundTasks):
592592
"""
593593
Delete all snapshots.

0 commit comments

Comments
 (0)