API generation

This commit is contained in:
delvedor
2019-03-27 19:24:27 +01:00
parent 4346bfd9a0
commit 29091da864
255 changed files with 0 additions and 2295 deletions

View File

@ -52,15 +52,6 @@ function buildXpackMigrationUpgrade (opts) {
options = {}
}
// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
xpackMigrationUpgrade(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}
// check required parameters
if (params['index'] == null) {
const err = new ConfigurationError('Missing required parameter: index')