add form json

This commit is contained in:
Maxime 2024-11-29 16:12:33 +01:00
parent 3295c3da5f
commit 52cbb95648
1 changed files with 3 additions and 1 deletions

View File

@ -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()
],
]; ];
}); });
} }