1
0
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:
Arnaud Leymet 2021-08-19 10:33:49 +02:00 committed by GitHub
parent 39384d614c
commit d7011dacf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ class TimeStampStrategy extends Strategy {
}
isEnabled(parameters, context) {
Date.parse(parameters.enableAfter) < Date.now();
return Date.parse(parameters.enableAfter) < Date.now();
}
}
```