Skip to content

Commit

Permalink
making the upsell less offensive.
Browse files Browse the repository at this point in the history
  • Loading branch information
saifalfalah committed Aug 15, 2020
1 parent 87da984 commit 32df8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/post-index/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const shouldAskForSupport = () => {
// To double the probability, use 5 (5 & 10). Or to triple, use 3 (3, 6, 9).
// For upsell in 1 out 10 requests, using 7 (default) since 7 is a prime number

if (Math.ceil(Math.random() * 10) % 5 === 0) return true;
if (Math.ceil(Math.random() * 10) % 7 === 0) return true;
else return false;

// hard return for testing
Expand Down

0 comments on commit 32df8c5

Please sign in to comment.