stupid small mistake fixed
This commit is contained in:
parent
06d5d5ca81
commit
76f23a7093
4
index.js
4
index.js
@ -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 }
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user