| 
                
               | 
              
                
               | 
              
                @@ -78,11 +78,14 @@ def get_contribtion_contract_sign_mppath_api(request): 
               | 
            
            
            
              | 
                78
               | 
              
                78
               | 
              
                  
               | 
            
            
            
              | 
                79
               | 
              
                79
               | 
              
                     lensman = LensmanInfo.objects.get(lensman_id=lensman_id) 
               | 
            
            
            
              | 
                80
               | 
              
                80
               | 
              
                  
               | 
            
            
            
              | 
                81
               | 
              
                
               | 
              
                -    contract = LensmanContributionContractInfo.objects.get( 
               | 
            
            
            
              | 
                82
               | 
              
                
               | 
              
                -        user_id=user_id, 
               | 
            
            
            
              | 
                83
               | 
              
                
               | 
              
                -        lensman_id=lensman_id, 
               | 
            
            
            
              | 
                84
               | 
              
                
               | 
              
                -        flow_id=flow_id, 
               | 
            
            
            
              | 
                85
               | 
              
                
               | 
              
                -    ) 
               | 
            
            
            
              | 
                
               | 
              
                81
               | 
              
                +    try: 
               | 
            
            
            
              | 
                
               | 
              
                82
               | 
              
                +        contract = LensmanContributionContractInfo.objects.get( 
               | 
            
            
            
              | 
                
               | 
              
                83
               | 
              
                +            user_id=user_id, 
               | 
            
            
            
              | 
                
               | 
              
                84
               | 
              
                +            lensman_id=lensman_id, 
               | 
            
            
            
              | 
                
               | 
              
                85
               | 
              
                +            flow_id=flow_id, 
               | 
            
            
            
              | 
                
               | 
              
                86
               | 
              
                +        ) 
               | 
            
            
            
              | 
                
               | 
              
                87
               | 
              
                +    except LensmanContributionContractInfo.DoesNotExist: 
               | 
            
            
            
              | 
                
               | 
              
                88
               | 
              
                +        return response(ContractStatusCode.CONTRACT_NOT_FOUND) 
               | 
            
            
            
              | 
                86
               | 
              
                89
               | 
              
                  
               | 
            
            
            
              | 
                87
               | 
              
                90
               | 
              
                     scheme_url = get_contribtion_contract_sign_mppath(lensman, flow_id) 
               | 
            
            
            
              | 
                88
               | 
              
                91
               | 
              
                  
               |