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();