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:
parent
c7b637a05f
commit
7ab8e9e13a
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ class UserController extends BaseController {
|
||||||
}
|
}
|
||||||
} else if ($user = $this->userProvider->getById((int)$steamId)) {
|
} else if ($user = $this->userProvider->getById((int)$steamId)) {
|
||||||
Flight::json($user);
|
Flight::json($user);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
Flight::json($this->userProvider->get($steamId));
|
Flight::json($this->userProvider->get($steamId));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue