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 Sep 30, 2024
1 parent c3efe41 commit 29562e1
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 29562e1

Please sign in to comment.