Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update order.py
Browse files
    	
        order.py
    CHANGED
    
    | 
         @@ -5,7 +5,7 @@ order_blueprint = Blueprint('order', __name__) 
     | 
|
| 5 | 
         | 
| 6 | 
         
             
            # Initialize Salesforce connection
         
     | 
| 7 | 
         
             
            sf = get_salesforce_connection()
         
     | 
| 8 | 
         
            -
            @ 
     | 
| 9 | 
         
             
            def order_summary():
         
     | 
| 10 | 
         
             
                email = session.get('user_email')  # Fetch logged-in user's email
         
     | 
| 11 | 
         
             
                if not email:
         
     | 
| 
         | 
|
| 5 | 
         | 
| 6 | 
         
             
            # Initialize Salesforce connection
         
     | 
| 7 | 
         
             
            sf = get_salesforce_connection()
         
     | 
| 8 | 
         
            +
            @order_blueprint.route("/order", methods=["GET"])
         
     | 
| 9 | 
         
             
            def order_summary():
         
     | 
| 10 | 
         
             
                email = session.get('user_email')  # Fetch logged-in user's email
         
     | 
| 11 | 
         
             
                if not email:
         
     |