force-app/main/default/classes/lexCaseController.cls
@@ -16,11 +16,11 @@ res.recordTypeId = Schema.SObjectType.Report__c.getRecordTypeInfosByName().get(lexLightingButtonConstant.RECORD_TYPE_NAME_BY_VOC).getRecordTypeId(); // res.recordTypeId = Schema.SObjectType.Report__c.getRecordTypeInfosByName().toString(); } catch (Exception e) { throw new AuraHandledException(e.getMessage()); System.debug(e.getMessage()); } return res; } class InitData{ public class InitData{ @AuraEnabled public String department; @AuraEnabled