From 8a2aba667f97db07bb2d1f9053d2b144a0637bd7 Mon Sep 17 00:00:00 2001 From: yaso-meth Date: Wed, 14 Aug 2024 10:17:23 +0200 Subject: [PATCH] fix add not api call --- Frontend/patient_manager/lib/components/patientNotes.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frontend/patient_manager/lib/components/patientNotes.dart b/Frontend/patient_manager/lib/components/patientNotes.dart index 4fc22a69..551094ec 100644 --- a/Frontend/patient_manager/lib/components/patientNotes.dart +++ b/Frontend/patient_manager/lib/components/patientNotes.dart @@ -60,7 +60,7 @@ class _PatientNotesState extends State { body: jsonEncode({ "note_name": titleController.text, "note_text": noteTextController.text, - "patient_id": widget.patientAppId, + "app_id": widget.patientAppId, }), ); if (response.statusCode == 201) {