Commit dd13b7cd880d1e6589fa51e01598c3eff4c58de1
1 parent
e2021d22
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->id); | 76 | + return var_dump($newItem['id']); |
| 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); |