diff --git a/IES-Bandung/app/Http/Controllers/ProfileController.php b/IES-Bandung/app/Http/Controllers/ProfileController.php index 6a6a810ef9a76199c2fa05d87fc47e63e5393cf0..0f0d585782aa4bffdf0723650c60ec33bd1396d1 100644 --- a/IES-Bandung/app/Http/Controllers/ProfileController.php +++ b/IES-Bandung/app/Http/Controllers/ProfileController.php @@ -38,7 +38,7 @@ class ProfileController extends Controller $userType = $user['userType']; - if($userType === "publicUser"){ + if($userType === "public"){ $this->controller = new PublicUserController(); } else if($userType === "vendor"){