return the full path of avatar

This commit is contained in:
2024-08-28 10:54:00 +03:30
parent 1c14828c50
commit cad7d63409
2 changed files with 9 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ class ProfileController extends Controller
'major' => $user->major,
'degree' => $user->degree,
'mobile' => $user->mobile,
'avatar' => $user->avatar,
'avatar' => $user->avatarUrl()
]);
}