Merge pull request #5087 from overleaf/em-promisify-subscription-updater
Promisify FeaturesUpdater and SubscriptionHandler GitOrigin-RevId: 1a9725afa119c0eaee3d975a11197b6f702f1307
This commit is contained in:
@@ -447,7 +447,7 @@ function recurlyNotificationParser(req, res, next) {
|
||||
|
||||
async function refreshUserFeatures(req, res) {
|
||||
const { user_id: userId } = req.params
|
||||
await FeaturesUpdater.promises.refreshFeatures(userId)
|
||||
await FeaturesUpdater.promises.refreshFeatures(userId, 'acceptance-test')
|
||||
res.sendStatus(200)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user