diff --git a/services/web/app/src/Features/BetaProgram/BetaProgramController.js b/services/web/app/src/Features/BetaProgram/BetaProgramController.js index 0120f59803..67dccc3be2 100644 --- a/services/web/app/src/Features/BetaProgram/BetaProgramController.js +++ b/services/web/app/src/Features/BetaProgram/BetaProgramController.js @@ -4,7 +4,7 @@ const UserGetter = require('../User/UserGetter') const logger = require('@overleaf/logger') const SessionManager = require('../Authentication/SessionManager') const SplitTestHandler = require('../SplitTests/SplitTestHandler') -const { expressify } = require('../../util/promises') +const { expressify } = require('@overleaf/promise-utils') async function optIn(req, res) { const userId = SessionManager.getLoggedInUserId(req.session) diff --git a/services/web/app/src/util/promises.js b/services/web/app/src/util/promises.js deleted file mode 100644 index 4b7860c3b5..0000000000 --- a/services/web/app/src/util/promises.js +++ /dev/null @@ -1,8 +0,0 @@ -// This stub module is temporary. Keep it around for a while to allow old -// branches to be merged. - -module.exports = require('@overleaf/promise-utils') - -process.emitWarning( - 'The util/promises module is deprecated. Use @overleaf/promise-utils instead.' -)