resolve the conflicts

This commit is contained in:
2026-05-17 08:56:02 +03:30
6 changed files with 10 additions and 49 deletions

View File

@@ -67,8 +67,7 @@ class ExpertManagementController extends Controller
*/
public function show(Expert $expert): JsonResponse
{
return $this->successResponse(
new ExpertManagementResource($expert)
return $this->successResponse($expert->load(['roles','permissions'])
);
}