File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed 
src/components/plan-details-pages Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ const PlanDetailsPage = () => {
175175    [ SubmitCallbacks . PlanDetailsRegister ] : async  ( data : PlanDetailsRegisterPageData )  =>  { 
176176      const  recaptchaToken : string  |  null  =  await  getToken ( ) ; 
177177
178-       let  registerMutationPayload : Partial < RegistrationCreateRequestSchema >  =  { 
178+       const  registerMutationPayload : Partial < RegistrationCreateRequestSchema >  =  { 
179179        name : data . fullName , 
180180        email : data . adminEmail , 
181181        username : data . username , 
@@ -184,10 +184,7 @@ const PlanDetailsPage = () => {
184184      } ; 
185185
186186      if  ( recaptchaToken )  { 
187-         registerMutationPayload  =  { 
188-           ...registerMutationPayload , 
189-           recaptchaToken, 
190-         }  as  RegistrationCreateRecaptchaRequestSchema ; 
187+         registerMutationPayload . recaptchaToken  =  recaptchaToken ; 
191188      } 
192189      registerMutation . mutate ( registerMutationPayload ) ; 
193190    } , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments