PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 2.15.3
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v2.15.3
3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 All 138 releases
← All changes | includes/Core/Integration/OneDrive/OneDriveHandler.php +2 -1 2.10.22.15.3 View file →
@@ -201,8 +201,9 @@
201 201
202 202 public function execute(IntegrationHandler $integrationHandler, $integrationData, $fieldValues, $entryID, $logID)
203 203 {
204 204 $integrationDetails = json_decode($integrationData->integration_details);
205 +
205 206 if (empty($integrationDetails->tokenDetails->access_token)) {
206 207 (new ApiResponse())->apiResponse($logID, $this->integrationID, ['type' => 'record', 'type_name' => 'insert'], 'error', 'Not Authorization By OneDrive.');
207 208 return;
208 209 }
@@ -210,9 +211,9 @@
210 211 $actions = $integrationDetails->actions;
211 212 $folderId = $integrationDetails->folder;
212 213 $fieldMap = $integrationDetails->field_map;
213 214 $tokenDetails = self::tokenExpiryCheck($integrationDetails->tokenDetails, $integrationDetails->clientId, $integrationDetails->clientSecret);
214 - $parentId = $integrationData->flow_details->folderMap[1];
215 + $parentId = $integrationDetails->folderMap[0];
215 216 if ($tokenDetails->access_token !== $integrationDetails->tokenDetails->access_token) {
216 217 self::saveRefreshedToken($this->formID, $this->integrationID, $tokenDetails);
217 218 }
218 219