mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
📝 Fix the custom activation strategy example (#913)
* 📝 Fix the custom avtivation strategy example * 🐛 Fix example
This commit is contained in:
parent
39384d614c
commit
d7011dacf4
@ -40,7 +40,7 @@ class TimeStampStrategy extends Strategy {
|
||||
}
|
||||
|
||||
isEnabled(parameters, context) {
|
||||
Date.parse(parameters.enableAfter) < Date.now();
|
||||
return Date.parse(parameters.enableAfter) < Date.now();
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user