Skip to content

Commit 72c5829

Browse files
Merge pull request #600 from HubSpot/feature/fixFilesApi
CRM Imports: Fix importRequest
2 parents bb91f6a + 599015d commit 72c5829

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

codegen/Crm/Imports/Api/CoreApi.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public function cancelWithHttpInfo($import_id, string $contentType = self::conte
206206
);
207207
}
208208

209-
209+
210210

211211
if ($statusCode < 200 || $statusCode > 299) {
212212
throw new ApiException(
@@ -245,7 +245,7 @@ public function cancelWithHttpInfo($import_id, string $contentType = self::conte
245245
$e->setResponseObject($data);
246246
throw $e;
247247
}
248-
248+
249249

250250
throw $e;
251251
}
@@ -494,7 +494,7 @@ public function createWithHttpInfo($files = null, $import_request = null, string
494494
);
495495
}
496496

497-
497+
498498

499499
if ($statusCode < 200 || $statusCode > 299) {
500500
throw new ApiException(
@@ -533,7 +533,7 @@ public function createWithHttpInfo($files = null, $import_request = null, string
533533
$e->setResponseObject($data);
534534
throw $e;
535535
}
536-
536+
537537

538538
throw $e;
539539
}
@@ -645,7 +645,7 @@ public function createRequest($files = null, $import_request = null, string $con
645645

646646
$formData = $formDataProcessor->prepare([
647647
'files' => $files,
648-
'import_request' => $import_request,
648+
'importRequest' => $import_request,
649649
]);
650650

651651
$formParams = $formDataProcessor->flatten($formData);
@@ -781,7 +781,7 @@ public function getByIdWithHttpInfo($import_id, string $contentType = self::cont
781781
);
782782
}
783783

784-
784+
785785

786786
if ($statusCode < 200 || $statusCode > 299) {
787787
throw new ApiException(
@@ -820,7 +820,7 @@ public function getByIdWithHttpInfo($import_id, string $contentType = self::cont
820820
$e->setResponseObject($data);
821821
throw $e;
822822
}
823-
823+
824824

825825
throw $e;
826826
}
@@ -1071,7 +1071,7 @@ public function getPageWithHttpInfo($after = null, $before = null, $limit = null
10711071
);
10721072
}
10731073

1074-
1074+
10751075

10761076
if ($statusCode < 200 || $statusCode > 299) {
10771077
throw new ApiException(
@@ -1110,7 +1110,7 @@ public function getPageWithHttpInfo($after = null, $before = null, $limit = null
11101110
$e->setResponseObject($data);
11111111
throw $e;
11121112
}
1113-
1113+
11141114

11151115
throw $e;
11161116
}

0 commit comments

Comments
 (0)