mirror of
https://github.com/elyby/accounts.git
synced 2026-10-20 20:58:03 +05:30
Fix Chrly's API response handling
This commit is contained in:
1 parent
2a4f29801d
commit
0c2832f95f
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user