fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
@@ -72,7 +72,7 @@ class FamilyAdminController extends BaseApiController
$schoolYear
);
if (! $family) {
if (!$family) {
return $this->error('Family not found.', Response::HTTP_NOT_FOUND);
}
@@ -92,9 +92,8 @@ class FamilyAdminController extends BaseApiController
$payload['reply_to_name'] ?? null
);
if (! $ok) {
if (!$ok) {
Log::warning('Compose email failed for family admin', ['recipient' => $payload['recipient']]);
return $this->error('Unable to send email.', Response::HTTP_INTERNAL_SERVER_ERROR);
}