Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function quovo__access__credentials(ctx) {
const QUOVO_LOGIN =
env.QUOVO_LOGIN
|| (env && env.QUOVO_LOGIN)
|| throw__missing_argument(ctx, {key: 'env.QUOVO_LOGIN', type: 'quovo__access__credentials'})
, QUOVO_PASSWORD =
env.QUOVO_PASSWORD
|| (env && env.QUOVO_PASSWORD)
|| throw__missing_argument(ctx, {key: 'env.QUOVO_PASSWORD', type: 'quovo__access__credentials'})
return btoa(`${QUOVO_LOGIN}:${QUOVO_PASSWORD}`)
}
function $ctx__fetch(ctx, ...ctx__fetch$$) {