fix(vikon): correct VIKON API endpoint names for part updates

This commit is contained in:
F4ilji
2026-07-05 10:21:27 +05:00
parent d83364432e
commit e83cd0109d
2 changed files with 7 additions and 11 deletions
@@ -33,7 +33,7 @@ class UpdatePartAction
// Step 1: Request generation
$genResponse = $this->http->postWithToken(
'pull_updates/requestGeneratePartByNewCoreJson',
'pull_updates/generatePartByNewCoreJson',
$accessToken,
['part' => $part]
);
@@ -56,10 +56,9 @@ class UpdatePartAction
}
// Step 3: Check result
$checkResponse = $this->http->postWithToken(
'pull_updates/checkPartGenerationByNewCoreResultJson',
$accessToken,
['operation_identity' => $operationIdentity, 'part' => $part]
$checkResponse = $this->http->getWithToken(
"pull_updates/checkPartGenerationByNewCoreResultJson?operation_identity={$operationIdentity}&part={$part}",
$accessToken
);
$checkBody = $checkResponse->json();