Handler id changes : GWM

This commit is contained in:
Gowtham M 2025-12-24 09:55:03 +05:30
parent fb8390b2fe
commit e0ecbac861

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'],
];