소스 검색

Add referral code to cloud registration

Mauricio Araujo 2 년 전
부모
커밋
314f3802c4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      dashboard/src/main/auth/Register.tsx

+ 1 - 0
dashboard/src/main/auth/Register.tsx

@@ -186,6 +186,7 @@ const Register: React.FC<Props> = ({ authenticate }) => {
               chosenReferralOption === "Other"
               chosenReferralOption === "Other"
                 ? `Other: ${referralOtherText}`
                 ? `Other: ${referralOtherText}`
                 : chosenReferralOption,
                 : chosenReferralOption,
+            referred_by_code: referralCode,
           },
           },
           {}
           {}
         )
         )