Skip to content

Commit

Permalink
[TMP] - sendGetAttribute does not always return "safe json"
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-oscarsson committed Oct 1, 2024
1 parent 7169790 commit 3d9740c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/api/beamline.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function sendSetAttribute(name, type, value) {
}

export function sendGetAttribute(type, name, attr, args) {
return endpoint.post(args, `/${type}/${name}/${attr}`).safeJson();
return endpoint.post(args, `/${type}/${name}/${attr}`).json();
}

export function sendRunBeamlineAction(name, parameters) {
Expand Down

0 comments on commit 3d9740c

Please sign in to comment.