Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function getStorageService(envId: string): Promise {
const { secretId, secretKey, token } = await checkAndGetCredential()
const app = new CloudBase({
secretId,
secretKey,
token,
envId,
proxy: getProxy()
})
return app.storage
}
async function getStorageService(envId: string): Promise {
const { secretId, secretKey, token } = await checkAndGetCredential()
const app = new CloudBase({
secretId,
secretKey,
token,
envId,
proxy: getProxy()
})
return app.storage
}
async function getStorageService(envId: string): Promise {
const { secretId, secretKey, token } = await checkAndGetCredential()
const app = new CloudBase({
secretId,
secretKey,
token,
envId,
proxy: getProxy()
})
return app.storage
}