This commit is contained in:
tokumeikoi
2021-08-24 16:50:45 +09:00
parent 968d55e2e3
commit 8a58a1ad88
2 changed files with 4 additions and 2 deletions

View File

@ -82,8 +82,7 @@ class UserService
public function trafficFetch(int $u, int $d, int $userId, object $server, string $protocol):bool
{
$user = User::lockForUpdate()
->find($userId);
$user = User::find($userId);
if (!$user) {
return true;
}