From 41e73582b9cc5ffb442bd4bd9b7360c5cac452e8 Mon Sep 17 00:00:00 2001 From: Mahesh Biswas Date: Fri, 2 Oct 2020 15:54:02 +0530 Subject: [PATCH 1/2] Update AccountUtils.apxc --- .../AccountUtils.apxc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Create an Apex class that returns Account objects/AccountUtils.apxc b/Create an Apex class that returns Account objects/AccountUtils.apxc index f6c8d07..956d8ff 100644 --- a/Create an Apex class that returns Account objects/AccountUtils.apxc +++ b/Create an Apex class that returns Account objects/AccountUtils.apxc @@ -1,6 +1,5 @@ public class AccountUtils { public static List accountsByState(String st) { - List acctList = [SELECT Id, Name FROM Account WHERE BillingState = :st]; - return acctList; + return [SELECT Id, Name FROM Account WHERE BillingState = :st]; } } From 618689425cabd95389b91e76b92f90f8ec2d8c4f Mon Sep 17 00:00:00 2001 From: Mahesh Biswas Date: Fri, 2 Oct 2020 16:08:00 +0530 Subject: [PATCH 2/2] Create README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..37cb53d --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# Salesforce-Trailhead +Scripts used to solve Salesforce Trailhead Challenges. + +You can watch this [playlist](https://www.youtube.com/watch?v=QJfkQQ0c4Rs&list=PL3JVwFmb_BnQQZ0S2Fa9dqu-A_4f5PIYj) on [Youtube](https://www.youtube.com/jiejenn).