Commit 34ce0f8691ff558522501f90851c7e7729e99518
1 parent
a77548f9
registration
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Controllers/UserController.php
@@ -76,7 +76,7 @@ class UserController extends CrudResourceController | @@ -76,7 +76,7 @@ class UserController extends CrudResourceController | ||
76 | return $this->onCreateFailed($item, $data); | 76 | return $this->onCreateFailed($item, $data); |
77 | } | 77 | } |
78 | 78 | ||
79 | - die(var_dump($data)); | 79 | + die(var_dump($newItem)); |
80 | 80 | ||
81 | $primaryKey = $this->getModelPrimaryKey(); | 81 | $primaryKey = $this->getModelPrimaryKey(); |
82 | $responseData = $this->getFindData($newItem->$primaryKey); | 82 | $responseData = $this->getFindData($newItem->$primaryKey); |