debug profile

This commit is contained in:
fauzgabriel@gmail.com 2026-03-17 11:28:08 +07:00
parent 106283903e
commit e60e5db51c

View File

@ -71,7 +71,7 @@ public function update(Request $request, string $id): JSONResponse
'file_ktp' => ['nullable', 'file', 'mimes:jpg,jpeg,png,pdf', 'max:2048'],
'desa_kelurahan_id' => ['nullable', 'exists:master_desa_kelurahan,id'],
]);
dd($validated);
$profile = Profile::where('user_id', Auth::id())->first();
if ($request->hasFile('file_kk')) {