Commit d0c4d979854e362c586ec06680ffb16889b29958
1 parent
4c9af759
registration
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/UserController.php
| ... | ... | @@ -51,8 +51,6 @@ class UserController extends CrudResourceController |
| 51 | 51 | |
| 52 | 52 | $data = $this->transformPostData($data); |
| 53 | 53 | |
| 54 | - die(var_dump($data)); | |
| 55 | - | |
| 56 | 54 | $item = $this->createModelInstance(); |
| 57 | 55 | |
| 58 | 56 | $newItem = $this->createItem($item, $data); |
| ... | ... | @@ -61,6 +59,8 @@ class UserController extends CrudResourceController |
| 61 | 59 | return $this->onCreateFailed($item, $data); |
| 62 | 60 | } |
| 63 | 61 | |
| 62 | + die(var_dump($data)); | |
| 63 | + | |
| 64 | 64 | $primaryKey = $this->getModelPrimaryKey(); |
| 65 | 65 | $responseData = $this->getFindData($newItem->$primaryKey); |
| 66 | 66 | ... | ... |