Commit 865c84d5fb79fa229d0e22190456031d66d11fbd
1 parent
319cede5
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($primaryKey); | 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); |