Commit f3ce1655e7872818b82033b1a399e28819c9e09b
1 parent
b1a27a48
user registration
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Controllers/UserController.php
@@ -73,7 +73,7 @@ class UserController extends CrudResourceController | @@ -73,7 +73,7 @@ class UserController extends CrudResourceController | ||
73 | } | 73 | } |
74 | 74 | ||
75 | $primaryKey = $this->getModelPrimaryKey(); | 75 | $primaryKey = $this->getModelPrimaryKey(); |
76 | - return var_dump($newItem->readAttribute("id")); | 76 | + return var_dump($newItem); |
77 | $responseData = $this->getFindData($newItem->$primaryKey); | 77 | $responseData = $this->getFindData($newItem->$primaryKey); |
78 | 78 | ||
79 | $response = $this->getCreateResponse($responseData, $data); | 79 | $response = $this->getCreateResponse($responseData, $data); |