scandoc-ai-components 0.0.47 → 0.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11373,8 +11373,8 @@ class ExtractorVideo {
|
|
|
11373
11373
|
this.stopVideo();
|
|
11374
11374
|
this.onExtractedResults({
|
|
11375
11375
|
success: false,
|
|
11376
|
-
code: error.status === 401 ? "004" : "005",
|
|
11377
|
-
info: error.status === 401 ? "Authentication failed: Invalid API key." : "Startup failed: " + (error.message || "Unknown error")
|
|
11376
|
+
code: error.status === 401 || error.status === 403 ? "004" : "005",
|
|
11377
|
+
info: error.status === 401 || error.status === 403 ? "Authentication failed: Invalid API key." : "Startup failed: " + (error.message || "Unknown error")
|
|
11378
11378
|
});
|
|
11379
11379
|
return false;
|
|
11380
11380
|
}
|