Skip to content

Commit b0efbae

Browse files
committed
Session creation post was using the wrong endpoint
1 parent 039eeba commit b0efbae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/murfey/client/tui/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ async def on_mount(self) -> None:
678678
else:
679679
session_name = "Client connection"
680680
resp = capture_post(
681-
f"{self._environment.url.geturl()}/sessions/{self._environment.murfey_session}/session",
681+
f"{self._environment.url.geturl()}/instruments/{self._environment.instrument_name}/clients/{self._environment.client_id}/session",
682682
json={"session_id": None, "session_name": session_name},
683683
)
684684
if resp:

0 commit comments

Comments
 (0)