mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Fix Chrly's API response handling
This commit is contained in:
		| @@ -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