[#915] Fix Farcaster referral code property name mismatch#919
[#915] Fix Farcaster referral code property name mismatch#919realproject7 merged 1 commit intomainfrom
Conversation
Frontend sent `useFarcaster: true` but backend expected `useFarcasterUsername`. This caused the "Use Farcaster username" button to silently fall through to random code generation instead of using the FC username. Fixes #915 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
re2 Review — APPROVED ✅One-line property rename: Patch bump 0.1.29 ✓ |
project7-interns
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Summary
This PR fixes the frontend/backend request field mismatch for Farcaster referral code generation with a minimal, targeted change. The updated POST body now matches the backend handler expectation from issue #915.
Findings
- None.
Decision
Approve. I verified the backend reads useFarcasterUsername and this diff updates the frontend to send that exact property. CI checks were still pending at review time.
Summary
useFarcaster: truebut backend expecteduseFarcasterUsernamein POST/api/airdrop/referral-codeUserPoints.tsxto match backend expectationFixes #915
Test plan
is_farcaster_usernameflag istrueinpl_referral_codestable🤖 Generated with Claude Code