mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 03:21:56 +02:00
Merge pull request #14696 from overleaf/jpa-lean-mongo-queries
[web] use lean mongo queries GitOrigin-RevId: 5c9e2cddb2c45835dd9bb87c31b6e9d2b91873fd
This commit is contained in:
@@ -37,7 +37,7 @@ const BetaProgramController = {
|
||||
optInPage(req, res, next) {
|
||||
const userId = SessionManager.getLoggedInUserId(req.session)
|
||||
logger.debug({ userId }, 'showing beta participation page for user')
|
||||
UserGetter.getUser(userId, function (err, user) {
|
||||
UserGetter.getUser(userId, { betaProgram: 1 }, function (err, user) {
|
||||
if (err) {
|
||||
OError.tag(err, 'error fetching user', {
|
||||
userId,
|
||||
|
||||
Reference in New Issue
Block a user