mirror of
https://github.com/elyby/accounts.git
synced 2024-12-23 13:50:06 +05:30
Fix Chrly's API response handling
This commit is contained in:
parent
2a4f29801d
commit
0c2832f95f
@ -22,7 +22,7 @@ class SkinsSystemApi {
|
||||
*/
|
||||
public function textures(string $username): ?array {
|
||||
$response = $this->getClient()->request('GET', $this->buildUrl('/textures/' . $username));
|
||||
if ($response->getStatusCode() !== 204) {
|
||||
if ($response->getStatusCode() !== 200) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user