vmangos
This commit is contained in:
@@ -6,8 +6,8 @@ use App\Exceptions\DuplicateGameAccountException;
|
||||
use App\Exceptions\InviteCodeException;
|
||||
use App\Http\Requests\RegisterGameAccountRequest;
|
||||
use App\Models\News;
|
||||
use App\Services\AzerothCoreAccountRegistrar;
|
||||
use App\Services\AzerothCoreAccountService;
|
||||
use App\Services\VMangosAccountRegistrar;
|
||||
use App\Services\VMangosAccountService;
|
||||
use App\Services\InviteCodeService;
|
||||
use App\Services\NewsService;
|
||||
use Illuminate\Http\RedirectResponse;
|
||||
@@ -22,7 +22,7 @@ class LandingController extends Controller
|
||||
{
|
||||
public function index(
|
||||
Request $request,
|
||||
AzerothCoreAccountService $accounts,
|
||||
VMangosAccountService $accounts,
|
||||
NewsService $news,
|
||||
): Response {
|
||||
$realmConfig = config('moonwell.realm');
|
||||
@@ -68,7 +68,7 @@ class LandingController extends Controller
|
||||
'ping' => 38,
|
||||
'factions' => ['alliance' => 52, 'horde' => 48],
|
||||
'rates' => $rates,
|
||||
'client_version' => $realmConfig['client_version'] ?? '3.3.5a',
|
||||
'client_version' => $realmConfig['client_version'] ?? '1.12.1',
|
||||
'tagline' => $realmConfig['tagline'] ?? null,
|
||||
'server_name' => $serverName,
|
||||
],
|
||||
@@ -112,7 +112,7 @@ class LandingController extends Controller
|
||||
|
||||
public function register(
|
||||
RegisterGameAccountRequest $request,
|
||||
AzerothCoreAccountRegistrar $registrar,
|
||||
VMangosAccountRegistrar $registrar,
|
||||
InviteCodeService $inviteCodes,
|
||||
): RedirectResponse {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user