mirror of
https://github.com/elyby/accounts.git
synced 2024-11-26 16:52:02 +05:30
Fix malformed query params
This commit is contained in:
parent
46c5a0f878
commit
ca304261a3
@ -49,7 +49,7 @@ class SkinsSystemApi {
|
|||||||
$query['onUnknownProfileRespondWithUuid'] = $fallbackUuid;
|
$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));
|
$response = $this->getClient()->request('GET', $this->buildUrl($url));
|
||||||
if ($response->getStatusCode() !== 200) {
|
if ($response->getStatusCode() !== 200) {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user