1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-03 18:04:08 +02:00

fix user by id result

This commit is contained in:
Robin Appelman 2020-11-26 19:07:09 +01:00
commit 7ab8e9e13a

View file

@ -30,6 +30,7 @@ class UserController extends BaseController {
}
} else if ($user = $this->userProvider->getById((int)$steamId)) {
Flight::json($user);
return;
}
Flight::json($this->userProvider->get($steamId));
}