Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

generateBountyName attributeLabel.toLowerCase()

Steven Tey600d33462e95
diff --git a/apps/web/lib/api/bounties/generate-bounty-name.ts b/apps/web/lib/api/bounties/generate-bounty-name.ts
index 83b3ed3cbf..38a66a3165 100644
--- a/apps/web/lib/api/bounties/generate-bounty-name.ts
+++ b/apps/web/lib/api/bounties/generate-bounty-name.ts
@@ -23,5 +23,5 @@ export const generateBountyName = ({
? `${currencyFormatter(condition.value / 100, { trailingZeroDisplay: "stripIfInteger" })} in`
: `${nFormatter(condition.value, { full: true })}`;
- return `Earn ${rewardAmountFormatted} after generating ${valueFormatted} ${attributeLabel}`;
+ return `Earn ${rewardAmountFormatted} after generating ${valueFormatted} ${attributeLabel.toLowerCase()}`;
};