From 44a6086db95911ff5b389a047df25e2f0dc7a936 Mon Sep 17 00:00:00 2001
From: eyuanf <eyuanf@1363778.no-reply.drupal.org>
Date: Tue, 14 Sep 2021 09:53:17 -0400
Subject: [PATCH] Issue #3232757 by Edith.F: Parameter nested in extra array
 when calling loadByProperties

---
 modules/salesforce_pull/src/Controller/PullController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/salesforce_pull/src/Controller/PullController.php b/modules/salesforce_pull/src/Controller/PullController.php
index 20884110..7b453adc 100644
--- a/modules/salesforce_pull/src/Controller/PullController.php
+++ b/modules/salesforce_pull/src/Controller/PullController.php
@@ -169,7 +169,7 @@ class PullController extends ControllerBase {
       $mappings[] = $mapping;
     }
     else {
-      $mappings = $this->mappingStorage->loadByProperties([["pull_standalone" => TRUE]]);
+      $mappings = $this->mappingStorage->loadByProperties(["pull_standalone" => TRUE]);
     }
 
     foreach ($mappings as $mapping) {
-- 
GitLab