diff --git a/app/Http/Controllers/Api/ProfileController.php b/app/Http/Controllers/Api/ProfileController.php index 26078ce..3c45c4a 100644 --- a/app/Http/Controllers/Api/ProfileController.php +++ b/app/Http/Controllers/Api/ProfileController.php @@ -135,6 +135,7 @@ class ProfileController extends Controller $user = Auth::user(); $profile = $user->profile; + dd(["User Role => ", $user->role, "Profile ID => ", $profile->id, "Requested ID => ", $id]); if($user->role === 'petani') { dd(["Petani dengan profile id => ", $profile->id]); }else{