From d7300ce9b1e6d2d1e685f1af6e97f34a7b20e573 Mon Sep 17 00:00:00 2001 From: Neha Gupta Date: Mon, 19 Apr 2021 09:55:21 +0530 Subject: [PATCH 1/2] errors --- .../main/default/classes/AccountQuickContactController.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/classes/AccountQuickContactController.cls b/force-app/main/default/classes/AccountQuickContactController.cls index 69b0f81..b132271 100644 --- a/force-app/main/default/classes/AccountQuickContactController.cls +++ b/force-app/main/default/classes/AccountQuickContactController.cls @@ -26,7 +26,7 @@ public with sharing class AccountQuickContactController { public static void newQuickContactForAccount(String accountId, String firstName, String lastName, String phone, String email){ Contact c = new Contact(); c.FirstName = firstName; - c.LastName = lastName; + c.LastName = lastName; //neha c.Phone = phone; c.Email = email; c.AccountId = accountId; From c21d4badd7173f4ac2c0d23a421eb6c11a1f7de0 Mon Sep 17 00:00:00 2001 From: Neha Gupta Date: Mon, 19 Apr 2021 10:05:05 +0530 Subject: [PATCH 2/2] new --- .../main/default/classes/AccountQuickContactController.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/classes/AccountQuickContactController.cls b/force-app/main/default/classes/AccountQuickContactController.cls index b132271..5985316 100644 --- a/force-app/main/default/classes/AccountQuickContactController.cls +++ b/force-app/main/default/classes/AccountQuickContactController.cls @@ -27,7 +27,7 @@ public with sharing class AccountQuickContactController { Contact c = new Contact(); c.FirstName = firstName; c.LastName = lastName; //neha - c.Phone = phone; + c.Phone = phone; //gupta c.Email = email; c.AccountId = accountId; insert c;