-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: [DHIS2-17613] Use new note endpoint #3908
Conversation
🚀 Deployed on https://deploy-preview-3908.capture.netlify.dhis2.org |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@henrikmv,
Could use the new endpoints when adding notes for the single events too in viewEventNotes.actions.js?
Thanks!
I’ve now used the |
src/core_modules/capture-core/components/Pages/ViewEvent/Notes/viewEventNotes.epics.js
Outdated
Show resolved
Hide resolved
…UseNewNoteEndpoints
…UseNewNoteEndpoints
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested successfully on 2.42 version
## [101.21.3](v101.21.2...v101.21.3) (2025-01-12) ### Bug Fixes * [DHIS2-17613] Use new note endpoint ([#3908](#3908)) ([a9fdea8](a9fdea8))
🎉 This PR is included in version 101.21.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
DHIS2-17613
For version 42:
POST /enrollments/${enrollmentId}/note
---->POST /tracker/enrollments/{enrollmentUid}/note
POST /events/${eventId}/note
---->POST /tracker/events/{eventUid}/note
Using the featureAvailable function to determine whether the new API is applicable to the current version.