Skip to content

Commit

Permalink
Merge pull request #758 from kartoza/tinashechiraya-patch-23
Browse files Browse the repository at this point in the history
patch: adjust endpoint path
  • Loading branch information
tinashechiraya authored Jan 17, 2024
2 parents 7763b97 + 0240cc3 commit 269b3bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ const ScoreForm: React.FC<ScoreFormProps> = ({ onCancel, additionalData, setSide

const deleteObservation = async (observationId) => {
try {
await axios.delete(`/observations/${observationId}/`);
await axios.delete(`monitor/observations/${observationId}/`);
} catch (error) {
setError(error);
}
Expand Down

0 comments on commit 269b3bb

Please sign in to comment.