diff --git a/api-rest/gateways/userGateway.php b/api-rest/gateways/userGateway.php index 27f8db2..04fc029 100644 --- a/api-rest/gateways/userGateway.php +++ b/api-rest/gateways/userGateway.php @@ -64,10 +64,8 @@ class UserGateway{ $this->connection->execQuery($skinsOfUserQuery,$argIdUser); $resSkin=$this->connection->getRes(); foreach($resSkin as $row){ - echo $row['PK_ID']; $tabSkin[]= new Skin($row['PK_ID'], $row['SKI_NAME'], $row['SKI_IMAGE'],$row['SKI_PRICE']); } - echo json_encode($tabSkin); return $tabSkin; }