From 873c6476fbfd2e93d60b84ad4607eed09eed53ca Mon Sep 17 00:00:00 2001 From: Amy Cobb Date: Tue, 10 Dec 2024 13:58:27 -0500 Subject: [PATCH] removed unnecessary line --- force-app/main/default/classes/TimelineService.cls | 1 - 1 file changed, 1 deletion(-) diff --git a/force-app/main/default/classes/TimelineService.cls b/force-app/main/default/classes/TimelineService.cls index dce7739..e1547bf 100644 --- a/force-app/main/default/classes/TimelineService.cls +++ b/force-app/main/default/classes/TimelineService.cls @@ -142,7 +142,6 @@ public with sharing class TimelineService { for (Timeline_Configuration__mdt timelineConfigurationRecord : listOfTimelineConfigurations) { TimelineRecord timelineRecord = new timelineRecord(); - //String timelineObjectLabel = timelineConfigObjectName.get(timelineConfigurationRecord.Id) Schema.SObjectType timelineRecordObjectType = Schema.getGlobalDescribe().get(timelineConfigurationRecord.Object_Name__c); Schema.DescribeSObjectResult timelineDescribeResult = timelineRecordObjectType.getDescribe(); timelineRecord.objectLabel = timelineDescribeResult.getLabel();