Skip to content
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

Merged
merged 9 commits into from
Jan 12, 2025
Prev Previous commit
Next Next commit
fix: bug in function
henrikmv committed Jan 6, 2025

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
commit d6aeae8c1edf1e0c7751690c9de37f2f22e70374
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ import moment from 'moment';
import { actionTypes, batchActionTypes, startAddNoteForEnrollment, addEnrollmentNote }
from './WidgetEnrollmentNote.actions';

const createServerData = (eventId, note, useNewEndpoint) => {
const createServerData = (note, useNewEndpoint) => {
if (useNewEndpoint) {
return { value: note };
}