mirror of
https://github.com/elyby/accounts.git
synced 2024-11-22 21:23:19 +05:30
Fix malformed query params
This commit is contained in:
parent
46c5a0f878
commit
ca304261a3
@ -49,7 +49,7 @@ class SkinsSystemApi {
|
||||
$query['onUnknownProfileRespondWithUuid'] = $fallbackUuid;
|
||||
}
|
||||
|
||||
$url = "/profile/{$username}" . (empty($query) ? '' : http_build_query($query));
|
||||
$url = "/profile/{$username}" . (empty($query) ? '' : ('?' . http_build_query($query)));
|
||||
$response = $this->getClient()->request('GET', $this->buildUrl($url));
|
||||
if ($response->getStatusCode() !== 200) {
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user