You've already forked pilot-sdk
add form json
This commit is contained in:
@@ -29,7 +29,9 @@ class Pilot
|
|||||||
{
|
{
|
||||||
$this->register('form', $slug, function () use ($function) {
|
$this->register('form', $slug, function () use ($function) {
|
||||||
return [
|
return [
|
||||||
'json' => $function(),
|
'json' => [
|
||||||
|
'form' => $function()
|
||||||
|
],
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user