Skip to content

Commit b505732

Browse files
authored
Merge pull request #11 from inceptphp/0.1
fix for getting detail after create
2 parents b67431d + 98a5eda commit b505732

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"squizlabs/php_codesniffer": "3.7.1"
1313
},
1414
"require": {
15-
"phpugph/components": "1.0.6",
16-
"phpugph/handlebars": "1.0.4"
15+
"phpugph/components": "1.0.7",
16+
"phpugph/handlebars": "1.0.5"
1717
},
1818
"autoload": {
1919
"psr-4": {

src/Package/System/events/object.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,10 @@
142142

143143
//lastly return the detail
144144
$response->remove('json', 'results');
145-
$emitter->call('system-object-detail', [ $primary => $id ], $response);
145+
$emitter->call('system-object-detail', [
146+
'schema' => $data['schema'],
147+
$primary => $id
148+
], $response);
146149
});
147150

148151
/**

0 commit comments

Comments
 (0)