Skip to content

Commit 2422686

Browse files
committed
Standardise outputs and inputs of authz
1 parent a184bee commit 2422686

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/blueapi/utils/serialization.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def access_blob(instrument_session: str, beamline: str) -> str:
3939
f"instrument session {instrument_session}"
4040
)
4141
blob = {
42-
"proposal_number": int(m.group(1)),
43-
"visit_number": int(m.group(2)),
42+
"proposal": int(m.group(1)),
43+
"visit": int(m.group(2)),
4444
"beamline": beamline,
4545
}
4646
return json.dumps(blob)

0 commit comments

Comments
 (0)