instances added god may help

This commit is contained in:
2026-02-23 12:58:19 +01:00
parent 25370a1a55
commit 99db252f60
290 changed files with 9858 additions and 4914 deletions

View File

@@ -1,9 +1,10 @@
<?php
use MintyPHP\Service\User\UserService;
use MintyPHP\Service\User\UserServicesFactory;
use MintyPHP\Support\Guard;
Guard::requireLogin();
$userAccountService = (new UserServicesFactory())->createUserAccountService();
$currentUserId = (int) ($_SESSION['user']['id'] ?? 0);
@@ -30,7 +31,7 @@ if ($limit > 5000) {
$limit = 5000;
}
$result = UserService::listPaged([
$result = $userAccountService->listPaged([
'limit' => $limit,
'offset' => 0,
'search' => $search,