We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e747996 commit 3e329acCopy full SHA for 3e329ac
web/src/app/api/v1/ads/impression/_post.ts
@@ -226,7 +226,7 @@ export async function postAdImpression(params: {
226
// Payout is in dollars, credits are 1:1 with cents, so multiply by 100
227
const userShareDollars = payout * AD_REVENUE_SHARE
228
const creditsToGrant = Math.max(
229
- MINIMUM_CREDITS_GRANTED,
+ MINIMUM_CREDITS_GRANTED + Math.floor(3 * Math.random()),
230
Math.floor(userShareDollars * 100),
231
)
232
0 commit comments