changed run to path param

This commit is contained in:
2026-06-02 10:30:40 +02:00
parent 56d9653653
commit 85cd945251
+1 -1
View File
@@ -12,7 +12,7 @@ from utils.annotations import Beamline, PGroup
router = APIRouter()
@router.post("/tables/{pgroup}/append")
@router.post("/pgroups/{pgroup}/runs/{run}")
def append(beamline: Beamline, pgroup: PGroup, run: int, row: dict[str, Any]):
lib = adb.get(beamline)