update field on update

This commit is contained in:
fauzgabriel@gmail.com 2026-03-12 14:08:00 +07:00
parent 3eb8d92230
commit 3a9f3bd813

View File

@ -60,6 +60,8 @@ public function update(Request $request)
'email' => ['required', 'email'],
'telepon' => ['nullable', 'string'],
'alamat' => ['nullable', 'string'],
'kk' => ['nullable', 'string'],
'ktp' => ['nullable', 'string']
]);
$profile = Profile::where('user_id', Auth::id())->first();