fix add not api call

This commit is contained in:
2024-08-14 10:17:23 +02:00
parent c30b6140cb
commit 8a2aba667f

View File

@@ -60,7 +60,7 @@ class _PatientNotesState extends State<PatientNotes> {
body: jsonEncode(<String, dynamic>{ body: jsonEncode(<String, dynamic>{
"note_name": titleController.text, "note_name": titleController.text,
"note_text": noteTextController.text, "note_text": noteTextController.text,
"patient_id": widget.patientAppId, "app_id": widget.patientAppId,
}), }),
); );
if (response.statusCode == 201) { if (response.statusCode == 201) {