Skip to content

Commit 99536c5

Browse files
Added default limit parameter if it is missing
1 parent c2d2600 commit 99536c5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

services/recognition_service.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ class RecognitionService {
4949
options = { ...options, limit: 10 };
5050
}
5151

52-
console.log(options)
53-
5452
// add parameters to basic url
5553
let full_url = get_full_url(
5654
this.recognize_base_url,
@@ -60,7 +58,7 @@ class RecognitionService {
6058
let url = add_options_to_url(
6159
full_url,
6260
this.options,
63-
tmp,
61+
options,
6462
required_url_parameters
6563
);
6664

0 commit comments

Comments
 (0)