Refactor request validation to use model-specific prop synchronization and add migrations for categories and brands
This commit is contained in:
@@ -21,7 +21,6 @@ class TenantController extends Controller
|
||||
{
|
||||
$validated = $request->validated();
|
||||
$props = $validated['props'] ?? [];
|
||||
unset($validated['props']);
|
||||
|
||||
$tenant = Tenant::createWithProps($validated, $props);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user