Skip to content

Commit 052eb77

Browse files
authored
Merge pull request #25 from ingrammicro/fix-small-code-style-improvements
Fix on modelize
2 parents aa3cd7f + 6c8c980 commit 052eb77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FulfillmentAutomation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public function listTierConfigs(array $filters = null)
294294
$body = $this->sendRequest('GET', '/tier/config-requests' . $query);
295295

296296
/** @var Request[] $models */
297-
$models = Model::modelize('tierconfigrequests', json_decode($body));
297+
$models = Model::modelize('tierConfigRequests', json_decode($body));
298298
foreach ($models as $index => $model) {
299299
$models[$index]->requestProcessor = $this;
300300
}
@@ -357,7 +357,7 @@ public function getTierConfigByProduct($tierId, $productId)
357357
'GET',
358358
'/tier/config-requests?status=approved&configuration__product__id=' . $productId . '&configuration__account__id=' . $tierId
359359
);
360-
$model = Model::modelize('tierconfigrequests', json_decode($body));
360+
$model = Model::modelize('tierConfigRequests', json_decode($body));
361361
if (count($model) > 0) {
362362
return $model[0]->configuration;
363363
}

0 commit comments

Comments
 (0)