updated controllers to use resources

This commit is contained in:
Edward Tirado Jr 2026-04-05 00:37:44 -05:00
parent 0787b75780
commit 19f81a0024
6 changed files with 79 additions and 18 deletions

View file

@ -106,7 +106,7 @@ class InvitationController extends Controller
Mail::to($invitation->email)->queue(new ListCollaboratorInvite(Auth::user(), $invitation));
}
return response()->json(['message' => 'Invitation created successfully'], 201);
return response()->json(['message' => 'Invitations sent!'], 201);
}
/**