remove test DB IDs

This commit is contained in:
Martin McKeaveney 2022-06-27 14:36:31 +01:00
parent 2a15ac97bb
commit a8a7261202
1 changed files with 2 additions and 3 deletions

View File

@ -133,12 +133,11 @@ exports.getBudibaseVersion = async ctx => {
// TODO: remove as part of beta program // TODO: remove as part of beta program
exports.checkBetaAccess = async ctx => { exports.checkBetaAccess = async ctx => {
const userToCheck = ctx.query.email const userToCheck = ctx.query.email
// const BETA_USERS_DB = "app_bb_f9b77d06b9db4e3ca185476ab87a2364" const BETA_USERS_DB = "app_bb_f9b77d06b9db4e3ca185476ab87a2364"
const TEST_BETA_USERS_DB = "app_de3eaf5d6a9849c3827e529bbf833813"
const BETA_USERS_TABLE = "ta_8c2c6df1c03f49cfb6340e85e066dd15" const BETA_USERS_TABLE = "ta_8c2c6df1c03f49cfb6340e85e066dd15"
try { try {
const db = dangerousGetDB(TEST_BETA_USERS_DB) const db = dangerousGetDB(BETA_USERS_DB)
const betaUsers = ( const betaUsers = (
await db.allDocs( await db.allDocs(
getRowParams(BETA_USERS_TABLE, null, { getRowParams(BETA_USERS_TABLE, null, {