From 3a9f3bd8131f9ffee46388dcb85ca31fd4f1a3d4 Mon Sep 17 00:00:00 2001 From: "fauzgabriel@gmail.com" Date: Thu, 12 Mar 2026 14:08:00 +0700 Subject: [PATCH] update field on update --- app/Http/Controllers/Api/ProfileController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Http/Controllers/Api/ProfileController.php b/app/Http/Controllers/Api/ProfileController.php index 2e2c592..9a69b3d 100644 --- a/app/Http/Controllers/Api/ProfileController.php +++ b/app/Http/Controllers/Api/ProfileController.php @@ -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();