Skip to content

Commit 5751ed2

Browse files
committed
consistent sessions api structure
1 parent 67e1bdf commit 5751ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/murfey/server/api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ def suggest_path(
13701370
return {"suggested_path": check_path.relative_to(machine_config.rsync_basepath)}
13711371

13721372

1373-
@router.post("/{session_id}/make_rsyncer_destination")
1373+
@router.post("/sessions/{session_id}/make_rsyncer_destination")
13741374
def make_rsyncer_destination(session_id: int, destination: Path, db=murfey_db):
13751375
secure_path_parts = [secure_filename(p) for p in destination.parts]
13761376
destination_path = "/".join(secure_path_parts)

0 commit comments

Comments
 (0)