From f3df64d922fe4730ebe53768ed757a5cadbdc846 Mon Sep 17 00:00:00 2001 From: "fauzgabriel@gmail.com" Date: Tue, 28 Apr 2026 19:14:41 +0700 Subject: [PATCH] offtaker access Co-authored-by: Copilot --- app/Http/Controllers/Api/ProfileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/ProfileController.php b/app/Http/Controllers/Api/ProfileController.php index 2d21ae5..0545b2b 100644 --- a/app/Http/Controllers/Api/ProfileController.php +++ b/app/Http/Controllers/Api/ProfileController.php @@ -23,7 +23,7 @@ class ProfileController extends Controller */ public function index(Request $request) { - Gate::authorize('fasilitator'); + Gate::authorize('fasilitator', 'offtaker'); $user = Auth::user(); $profile = $user->profile;