Skip to content
Snippets Groups Projects
Commit 64d9934d authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

test 2

parent c8e5333a
No related branches found
No related tags found
2 merge requests!19Feat/us858 save expiration date,!17fix/US846-onDelete
...@@ -16,11 +16,11 @@ const { isLocal, isAlpha } = require('./helpers/env') ...@@ -16,11 +16,11 @@ const { isLocal, isAlpha } = require('./helpers/env')
// const ACCOUNT_ID = isLocal() ? 'default_account_id' : 'enedis-sge-grandlyon' // const ACCOUNT_ID = isLocal() ? 'default_account_id' : 'enedis-sge-grandlyon'
async function onDeleteAccount() { async function onDeleteAccount() {
log('info', 'Deleting account ...')
log('info', 'Getting secrets ...')
const ACCOUNT_ID = getAccountId()
const accountRev = getAccountRev()
if (!isAlpha()) { if (!isAlpha()) {
log('info', 'Deleting account ...')
log('info', 'Getting secrets ...')
const ACCOUNT_ID = getAccountId()
const accountRev = getAccountRev()
if (accountRev) { if (accountRev) {
log('info', 'Account rev exist') log('info', 'Account rev exist')
const accountData = await getAccountForDelete(ACCOUNT_ID, accountRev) const accountData = await getAccountForDelete(ACCOUNT_ID, accountRev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment