return the full path of avatar
This commit is contained in:
@@ -29,7 +29,7 @@ class ProfileController extends Controller
|
||||
'major' => $user->major,
|
||||
'degree' => $user->degree,
|
||||
'mobile' => $user->mobile,
|
||||
'avatar' => $user->avatar,
|
||||
'avatar' => $user->avatarUrl()
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user