mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Fix a silly assignment mistake
This commit is contained in:
@@ -28,7 +28,7 @@ CollaboratorsHandler = require '../Collaborators/CollaboratorsHandler'
|
||||
module.exports = ProjectController =
|
||||
|
||||
_isInPercentageRollout: (objectId, percentage) ->
|
||||
if Settings.bypassPercentageRollouts = true
|
||||
if Settings.bypassPercentageRollouts == true
|
||||
return true
|
||||
counter = parseInt(objectId.toString().substring(18, 24), 16)
|
||||
return (counter % 100) < percentage
|
||||
|
||||
Reference in New Issue
Block a user