diff --git a/helm-chart/sefaria-project/templates/configmap/mongo-destroy.yaml b/helm-chart/sefaria-project/templates/configmap/mongo-destroy.yaml index edbd30be88..f68339f610 100644 --- a/helm-chart/sefaria-project/templates/configmap/mongo-destroy.yaml +++ b/helm-chart/sefaria-project/templates/configmap/mongo-destroy.yaml @@ -38,7 +38,7 @@ data: {{ end }} APSCHEDULER_URI="${URI}${MONGO_HOST}/${APSCHEDULER_NAME}?ssl=false&authSource=admin" - URI="${URI}${MONGO_HOST}/${DATABASE}?ssl=false&authSource=admin" + URI="${URI}${MONGO_HOST}/${DB_NAME}?ssl=false&authSource=admin" if [[ ! -z "$MONGO_REPLICASET_NAME" ]]; then URI="${URI}&replicaSet=${MONGO_REPLICASET_NAME}"