We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7977787 commit a538015Copy full SHA for a538015
visual-recognition/v3.ts
@@ -15,6 +15,9 @@ class VisualRecognitionV3 extends GeneratedVisualRecognitionV3 {
15
const _options = extend({}, options);
16
_options.version = _options.version_date || _options.version;
17
super(_options);
18
+ if (_options.api_key) {
19
+ console.warn('WARNING: Visual Recognition instances are no longer accepting `api_key` for authentication. Use `iam_apikey`.');
20
+ }
21
}
22
classify(params, callback) {
23
if (params && params.image_file) {
0 commit comments