Commit c23be67b6fbd55394fd8bdcdc941c49a76185c84
1 parent
3754fbeb
registration
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/UserController.php
... | ... | @@ -64,11 +64,11 @@ class UserController extends CrudResourceController |
64 | 64 | return $this->onCreateFailed($item, $data); |
65 | 65 | } |
66 | 66 | |
67 | - die(var_dump($newItem)); | |
68 | - | |
69 | 67 | $primaryKey = $this->getModelPrimaryKey(); |
70 | 68 | $responseData = $this->getFindData($newItem->$primaryKey); |
71 | 69 | |
70 | + die(var_dump($responseData)); | |
71 | + | |
72 | 72 | $response = $this->getCreateResponse($responseData, $data); |
73 | 73 | |
74 | 74 | $this->afterHandleCreate($newItem, $data, $response); | ... | ... |