fix endpoints

This commit is contained in:
root
2026-03-11 23:32:54 -04:00
parent 863e330dd8
commit 0f39dbee62
17 changed files with 2066 additions and 7 deletions
+2 -2
View File
@@ -81,7 +81,7 @@ class EmergencyContact extends BaseModel
{
$row = static::query()
->where('parent_id', $parentId)
->select(['emergency_contact_name', 'cellphone'])
->select(['emergency_contact_name', 'cellphone', 'email'])
->first();
return $row ? $row->toArray() : null;
@@ -93,4 +93,4 @@ class EmergencyContact extends BaseModel
->where('parent_id', $parentId)
->get();
}
}
}