Merge pull request #8513 from overleaf/msm-fix-conversion-typo

[web] fixed env names in scripts

GitOrigin-RevId: 3989514b23773642d4834ffca12cf97c756ade4c
This commit is contained in:
Miguel Serrano 2022-06-21 09:12:19 +02:00 committed by Copybot
parent e7c8329491
commit 1c78e211f6

View file

@ -17,8 +17,9 @@ process.env.MONGO_SOCKET_TIMEOUT =
const PROJECT_ID = process.env.PROJECT_ID
// User id is required to move large documents to filestore
const USER_ID = process.env.PROJECT_ID
const CONVERT_LARGE_DOCS_TO_FILE = process.env.DRY_RUN === 'true'
const USER_ID = process.env.USER_ID
const CONVERT_LARGE_DOCS_TO_FILE =
process.env.CONVERT_LARGE_DOCS_TO_FILE === 'true'
const { ObjectId, ReadPreference } = require('mongodb')
const { db, waitForDb } = require('../../app/src/infrastructure/mongodb')