Added API
This commit is contained in:
@@ -36,7 +36,8 @@ class UserProfileController extends Controller
|
||||
}
|
||||
|
||||
public static function getUserFlightApiURL(User $user){
|
||||
return '/data/user/'.$user->name.'/flights';
|
||||
return config('app.logo_api_url').'/user/'.$user->name.'/flights';
|
||||
//return '/data/user/'.$user->name.'/flights';
|
||||
}
|
||||
|
||||
public function profileData(User $user, string $view, ?int $selectedFlightId = null) : array {
|
||||
|
||||
Reference in New Issue
Block a user