Fortellis certification updates.
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user