Skip to content

Commit

Permalink
Fix save mask
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Oct 10, 2023
1 parent 81d6bc0 commit 0202a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/routes/CameraMap.jsx
Expand Up @@ -135,7 +135,7 @@ export default function CameraMasks({ camera }) {
const endpoint = `config/set?${queryParameters}`;
const response = await axios.put(endpoint);
if (response.status === 200) {
setSuccess(response.data);
setSuccess(response.data.message);
}
} catch (error) {
if (error.response) {
Expand Down

0 comments on commit 0202a4f

Please sign in to comment.