diff --git a/public/index.html b/public/index.html
index 01939df..032d926 100644
--- a/public/index.html
+++ b/public/index.html
@@ -362,7 +362,10 @@ async function handleAddNote(e) {
return showMessage('Please select an employee.', 'error');
}
- const res = await apiCall('/api/admin/notes', 'POST', { userId, noteText });
+ // BEFORE: const res = await apiCall('/api/admin/notes', 'POST', { userId, noteText });
+ // AFTER (Corrected):
+ const res = await apiCall('/admin/notes', 'POST', { userId, noteText });
+
if (res.success) {
showMessage(res.data.message, 'success');
e.target.reset();