Commit 431c192b15ffda1f78aff504ea3dd363386f8de8
1 parent
865c84d5
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); | 76 | + return var_dump($newItem->$primaryKey); |
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); |