add form json

This commit is contained in:
2024-11-29 16:12:33 +01:00
parent 3295c3da5f
commit 52cbb95648

View File

@@ -29,7 +29,9 @@ class Pilot
{
$this->register('form', $slug, function () use ($function) {
return [
'json' => $function(),
'json' => [
'form' => $function()
],
];
});
}