-
Notifications
You must be signed in to change notification settings - Fork 12.1k
Fix 10k favs check #572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 10k favs check #572
Conversation
It originally was check if it was greater than or equal to 1000. This commit would fix the issue by replacing 1000 with the correct number, 10000.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
"has_gte_10k_favs", | ||
_.getOrElse(EarlybirdFeature, None).exists(_.favCountV2.exists(_ >= 1000))), | ||
_.getOrElse(EarlybirdFeature, None).exists(_.favCountV2.exists(_ >= 10000))), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
omg twitter code is 🤡-town
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 10_000 to avoid clowning ourselves in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also add a test that would expose this bug.
I was actually expecting a joke PR, but seems to actually fix something 🙃 |
It originally was check if it was greater than or equal to 1000. This commit would fix the issue by replacing 1000 with the correct number, 10000.