fix: change saveContacts method to use POST instead of PUT for emergency contacts

This commit is contained in:
Achintha Isuru
2026-03-17 14:00:41 -04:00
parent e1d30c124b
commit d6ddb7829e

View File

@@ -27,7 +27,7 @@ class EmergencyContactRepositoryImpl
@override
Future<void> saveContacts(List<EmergencyContact> contacts) async {
await _api.put(
await _api.post(
StaffEndpoints.emergencyContacts,
data: <String, dynamic>{
'contacts':