Update AdminCuratedRegisterController, increase message length from 1000 to 3000

This commit is contained in:
Daniel Supernault 2024-05-07 04:22:28 -06:00
parent 61d105fd25
commit 9a5e3471d4
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -174,7 +174,7 @@ class AdminCuratedRegisterController extends Controller
public function apiMessageSendStore(Request $request, $id)
{
$this->validate($request, [
'message' => 'required|string|min:5|max:1000',
'message' => 'required|string|min:5|max:3000',
]);
$record = CuratedRegister::findOrFail($id);
abort_if($record->email_verified_at === null, 400, 'Cannot message an unverified email');