mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 03:21:56 +02:00
Merge pull request #3942 from overleaf/prettier-trailing-comma
Set Prettier's "trailingComma" setting to "es5" GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
This commit is contained in:
@@ -9,7 +9,7 @@ async function optIn(userId) {
|
||||
|
||||
async function optOut(userId) {
|
||||
await UserUpdater.promises.updateUser(userId, {
|
||||
$set: { betaProgram: false }
|
||||
$set: { betaProgram: false },
|
||||
})
|
||||
metrics.inc('beta-program.opt-out')
|
||||
}
|
||||
@@ -17,12 +17,12 @@ async function optOut(userId) {
|
||||
const BetaProgramHandler = {
|
||||
optIn: callbackify(optIn),
|
||||
|
||||
optOut: callbackify(optOut)
|
||||
optOut: callbackify(optOut),
|
||||
}
|
||||
|
||||
BetaProgramHandler.promises = {
|
||||
optIn,
|
||||
optOut
|
||||
optOut,
|
||||
}
|
||||
|
||||
module.exports = BetaProgramHandler
|
||||
|
||||
Reference in New Issue
Block a user