Skip to content

Commit 33cc17f

Browse files
committed
Merge branch 'main' of github.com:exadel-inc/compreface-javascript-sdk into sdk-0.6.x
� Conflicts: � services/recognition_service.js
2 parents 5ef8d5f + 95fcbe6 commit 33cc17f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

services/recognition_service.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ class RecognitionService {
4747
// add parameters to basic url
4848
let full_url = get_full_url(this.recognize_base_url, this.server, this.port)
4949
let url = add_options_to_url(full_url, this.options, options, required_url_parameters);
50-
50+
5151
return new Promise((resolve, reject) => {
5252
upload(image_path, url, this.key)
5353
.then(response => {
5454
resolve(response)
5555
})
5656
.catch(error => {
5757
reject(error)
58-
})
58+
})
5959

6060
})
6161
}
@@ -65,7 +65,7 @@ class RecognitionService {
6565
* @returns {Object}
6666
*/
6767
getFaceCollection(){
68-
const{ get_full_url, add_options_to_url } = common_functions;
68+
const{ get_full_url, add_options_to_url, isUrl, isPathRelative } = common_functions;
6969

7070
let url = get_full_url(this.base_url, this.server, this.port)
7171
let key = this.key;
@@ -110,7 +110,7 @@ class RecognitionService {
110110
})
111111
.catch(error => {
112112
reject(error)
113-
})
113+
})
114114
})
115115
},
116116

@@ -139,7 +139,7 @@ class RecognitionService {
139139
})
140140
.catch(error => {
141141
reject(error)
142-
})
142+
})
143143
})
144144
},
145145

0 commit comments

Comments
 (0)