Pārlūkot izejas kodu

Add referral code to cloud registration

Mauricio Araujo 2 gadi atpakaļ
vecāks
revīzija
314f3802c4
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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,
           },
           },
           {}
           {}
         )
         )