Merge branch 'main' of bitbucket.org:jubilian/nhance_partner_be

This commit is contained in:
sanjeev.p 2025-12-24 11:39:30 +05:30
commit c7bf8f8299

View File

@ -290,9 +290,9 @@ class StaffController extends ResourceController
'name' => $data['name'],
'email' => $data['email'],
'mobile' => $data['mobile'],
'role_id' => $data['role_id'] ?? null,
'handler_id' => !empty($data['handler_id']) ? json_encode($data['handler_id']) : null,
'updated_by' => $data['updated_by'] ?? null,
'role_id' => $data['role_id'],
'handler_id' => !empty($data['handler_id']) ? json_encode($data['handler_id']) : [],
'updated_by' => $data['updated_by'],
];