Skip to content

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

Closed
wants to merge 1 commit into from
Closed

Fix 10k favs check #572

wants to merge 1 commit into from

Conversation

marinight
Copy link

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.

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.
@CLAassistant
Copy link

CLAassistant commented Apr 1, 2023

CLA assistant check
All committers have signed the CLA.

Copy link

@Codfish246 Codfish246 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link

@looskie looskie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@hexiro hexiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines 162 to +163
"has_gte_10k_favs",
_.getOrElse(EarlybirdFeature, None).exists(_.favCountV2.exists(_ >= 1000))),
_.getOrElse(EarlybirdFeature, None).exists(_.favCountV2.exists(_ >= 10000))),

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

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

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.

@AlexFlipnote
Copy link

I was actually expecting a joke PR, but seems to actually fix something 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants