mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-16 02:52:31 -04:00
Merge branch 'master' into sk-smarter-percentage-rollout
This commit is contained in:
commit
00f095da3c
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ crypto = require 'crypto'
|
||||||
module.exports = ProjectController =
|
module.exports = ProjectController =
|
||||||
|
|
||||||
_isInPercentageRollout: (rolloutName, objectId, percentage) ->
|
_isInPercentageRollout: (rolloutName, objectId, percentage) ->
|
||||||
if Settings.bypassPercentageRollouts = true
|
if Settings.bypassPercentageRollouts == true
|
||||||
return true
|
return true
|
||||||
data = "#{rolloutName}:#{objectId.toString()}"
|
data = "#{rolloutName}:#{objectId.toString()}"
|
||||||
md5hash = crypto.createHash('md5').update(data).digest('hex')
|
md5hash = crypto.createHash('md5').update(data).digest('hex')
|
||||||
|
|
Loading…
Reference in a new issue