diff --git a/app/Http/Controllers/App/Account/AccountController.php b/app/Http/Controllers/App/Account/AccountController.php index 8d1f63d..7b8721a 100644 --- a/app/Http/Controllers/App/Account/AccountController.php +++ b/app/Http/Controllers/App/Account/AccountController.php @@ -108,10 +108,11 @@ public function me } $role = $user->roles()->latest()->first(); - $application = $surveyService->getLatestApplicationForm($user->id); - $response = $application->answers()->latest()->get(); + $answers = $application->answers(); + $response = $answers ? $answers->latest()->get() : []; + $naverId = ''; $discordName = ''; $birthday = '';