stupid small mistake fixed

This commit is contained in:
陆柯 2021-10-20 10:36:34 +08:00
parent 06d5d5ca81
commit 76f23a7093

View File

@ -308,9 +308,11 @@ module.exports = {
if (backend==='UNICLOUD'){
const resultCloud = await this.pickupFile2Cloud({mediaType, count, sizeType, sourceType, maxDuration })
return resultCloud
}else // if (backend==='SERVER'){
}else if (backend==='SERVER'){
const resultServer = await this.pickupFile2Server({mediaType, count, sizeType, sourceType, maxDuration, url, header, formData, name})
return resultServer
}else {
return { _state: 'CLEINT_FAIL_UNKNOWN_BACKEND_TYPE', backend }
}
},