Remove unused 'props' unset operation in store and update methods across Brand, Category, Product, and Tenant controllers
This commit is contained in:
@@ -36,7 +36,6 @@ class TenantController extends Controller
|
||||
{
|
||||
$validated = $request->validated();
|
||||
$props = $validated['props'] ?? [];
|
||||
unset($validated['props']);
|
||||
|
||||
$tenant = $tenant->updateWithProps($validated, $props);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user