Fortellis certification updates.

This commit is contained in:
Patrick Fic
2025-11-26 11:09:37 -08:00
parent 3d6498f938
commit f1bad01cec
4 changed files with 26 additions and 18 deletions

View File

@@ -249,14 +249,14 @@ async function MakeFortellisCall({
socket?.recordid,
{
wsmessage: "",//message,
curl: error.config.curl.curlCommand,
reqid: error.request.headers["Request-Id"] || null,
subscriptionId: error.request.headers["Subscription-Id"] || null,
curl: error?.config.curlCommand,
reqid: error.config?.headers["Request-Id"] || null,
subscriptionId: error.config?.headers["Subscription-Id"] || null,
},
true
);
throw new FortellisApiError(`Fortellis API call failed for ${apiName}: ${error.message}`, errorDetails);
throw new FortellisApiError(`Fortellis API call failed for ${apiName}: ${error.message} | ${errorDetails?.errorData?.message}`, errorDetails);
}
}
@@ -318,7 +318,7 @@ const FortellisActions = {
GetMakeModel: {
url: isProduction
? "https://api.fortellis.io/cdk/drive/makemodel/v2/bulk"
: "https://api.fortellis.io/cdk-test/drive/makemodel/v2",
: "https://api.fortellis.io/cdk-test/drive/makemodel/v2/bulk",
type: "get",
apiName: "CDK Drive Get Make Model Lite"
},