From 877a277c94f3cf20ffb41d7a29cfdc793fbf9d58 Mon Sep 17 00:00:00 2001 From: Lakshmi Nageswari Ramireddy Date: Fri, 7 Feb 2025 14:14:03 +0530 Subject: [PATCH] Instead of taking the hard coded api version, take the api version from cumulusci.yml --- cumulusci/tasks/preflight/sobjects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cumulusci/tasks/preflight/sobjects.py b/cumulusci/tasks/preflight/sobjects.py index c7177373df..484c2363cc 100644 --- a/cumulusci/tasks/preflight/sobjects.py +++ b/cumulusci/tasks/preflight/sobjects.py @@ -17,9 +17,9 @@ class CheckSObjectsAvailable(BaseSalesforceApiTask): action: error message: "Enhanced Notes are not turned on." """ - api_version = "48.0" def _run_task(self): + self.return_values = {entry["name"] for entry in self.sf.describe()["sobjects"]} self.logger.info(