class UpdatedBookRequest extends FormRequent{ public function validated() { return array_merge(parent::validated(), [ 'user_id' => Auth::user()->id, ]); }}
Only until Jan 16th: coupon RESOLUTION25 for 40% off Yearly/Lifetime membership!
Read more hereclass UpdatedBookRequest extends FormRequent{ public function validated() { return array_merge(parent::validated(), [ 'user_id' => Auth::user()->id, ]); }}