Skip to content

Commit f9cd6c9

Browse files
committed
Replaced '/machine' API endpoint with '/instrument/{instrument_name}/machine' when getting machine data
1 parent 7fca993 commit f9cd6c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/murfey/client/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,9 @@ def run():
288288

289289
status_bar = StatusBar()
290290

291-
machine_data = requests.get(f"{murfey_url.geturl()}/machine").json()
291+
machine_data = requests.get(
292+
f"{murfey_url.geturl()}/instrument/{instrument_name}/machine"
293+
).json()
292294
gain_ref: Path | None = None
293295

294296
instance_environment = MurfeyInstanceEnvironment(

0 commit comments

Comments
 (0)