Skip to content

Commit 9c103ba

Browse files
committed
undoing a failed attempt at accepting typos
1 parent 83a1230 commit 9c103ba

File tree

1 file changed

+1
-2
lines changed
  • services/visual_recognition

1 file changed

+1
-2
lines changed

services/visual_recognition/v3.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,13 @@ VisualRecognitionV3.prototype.classify = function(params, callback) {
163163
var parameters;
164164

165165
if(params.images_file) {
166-
var stream = params.images_file || params.image_file;
167166

168167
parameters = {
169168
options: {
170169
url: '/v3/classify',
171170
method: 'POST',
172171
formData: {
173-
images_file: stream,
172+
images_file: params.images_file,
174173
parameters: {
175174
value: JSON.stringify(pick(params, ['classifier_ids', 'owners', 'threshold'])),
176175
options: {

0 commit comments

Comments
 (0)