@telefonica/luis-cli
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -68,5 +68,6 @@ "use strict"; | ||
}); | ||
let _baseRequest = this._baseRequest; | ||
return Promise.all(_.chunk(apiExamples, 100).map(chunk => performRequest(chunk))); | ||
function performRequest(examples) { | ||
return this._baseRequest.defaults({ body: examples }) | ||
return _baseRequest.defaults({ body: examples }) | ||
.post(`${appId}/examples`) | ||
@@ -73,0 +74,0 @@ .then((response) => { |
{ | ||
"name": "@telefonica/luis-cli", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "CLI for Microsoft LUIS API", | ||
@@ -5,0 +5,0 @@ "license": "UNLICENSED", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37819
519