Skip to content

Commit 3914439

Browse files
committed
Fix post to api
1 parent cf59dad commit 3914439

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/murfey/client/contexts/atlas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ def post_transfer(
4545
) / transferred_file.relative_to(source.parent)
4646
capture_post(
4747
f"{str(environment.url.geturl())}{url_path_for('session_control.spa_router', 'make_atlas_jpg', session_id=environment.murfey_session)}",
48-
json={"atlas_mrc": transferred_atlas_name},
48+
json={"atlas_mrc": str(transferred_atlas_name)},
4949
)

src/murfey/util/route_manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ murfey.server.api.session_control.spa_router:
814814
type: int
815815
methods:
816816
- GET
817-
- path: /sessions/{session_id}/make_atlas_jpg
817+
- path: /session_control/spa/sessions/{session_id}/make_atlas_jpg
818818
function: make_atlas_jpg
819819
path_params: []
820820
methods:

0 commit comments

Comments
 (0)