From 9cdbc11da8988661d722e66eeb97ff4b468a25ae Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 22 Jun 2023 12:17:49 +1000 Subject: [PATCH] Missing request --- .../UpdateCompanyUserPreferencesRequest.php | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 app/Http/Requests/CompanyUser/UpdateCompanyUserPreferencesRequest.php diff --git a/app/Http/Requests/CompanyUser/UpdateCompanyUserPreferencesRequest.php b/app/Http/Requests/CompanyUser/UpdateCompanyUserPreferencesRequest.php new file mode 100644 index 000000000000..8d8b78ea0a36 --- /dev/null +++ b/app/Http/Requests/CompanyUser/UpdateCompanyUserPreferencesRequest.php @@ -0,0 +1,37 @@ +user()->id == $this->user->id; + } + + public function rules() + { + return [ + 'react_settings' => 'required' + ]; + } +}