changed run to path param
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user