From 66de0a1da63329894ade2cbc61575913459a05c5 Mon Sep 17 00:00:00 2001 From: "fauzgabriel@gmail.com" Date: Thu, 23 Apr 2026 14:54:01 +0700 Subject: [PATCH] debug dua --- app/Http/Controllers/Api/ProfileController.php | 1 + 1 file changed, 1 insertion(+) 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{