Skip to content

Commit 26fb8e6

Browse files
committed
fix: improve API response validation and update platform count in readme
1 parent 5169514 commit 26fb8e6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

backend/Actions/Salesforce/SalesforceController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public static function selesforceUserList($params)
340340

341341
$apiResponse = HttpHelper::get($apiEndpoint, null, self::setHeaders($tokenDetails->access_token));
342342

343-
if (!property_exists($apiResponse, 'records')) {
343+
if (!\is_object($apiResponse) || !property_exists($apiResponse, 'records')) {
344344
wp_send_json_error($apiResponse, 400);
345345
}
346346

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Requires PHP: 7.4
77
Stable tag: 2.9.1
88
License: GPLv2 or later
99

10-
Contact Form, Google Sheet, MailChimp, Brevo, Webhook, Zoho CRM Automation and Integration plugin that Connect 350+ platforms
10+
Contact Form, Google Sheet, MailChimp, Brevo, Webhook, Zoho CRM Automation and Integration plugin that Connect 360+ platforms
1111

1212
== Description ==
1313

1414
**Bit Integrations is a Easy Automation & Integration Plugin for WordPress**
1515

16-
**Bit Integrations** help WordPress users integrate WordPress and plugin data to 350+ platforms.
16+
**Bit Integrations** help WordPress users integrate WordPress and plugin data to 360+ platforms.
1717

1818
### 🎯 Why Bit Integrations?
1919

0 commit comments

Comments
 (0)