Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	
		Greg Thompson
		
	commited on
		
		
					Commit 
							
							·
						
						28c0a86
	
1
								Parent(s):
							
							a8ebc1e
								
Fix boolean in text messages
Browse files
    	
        mathtext_fastapi/conversation_manager.py
    CHANGED
    
    | @@ -46,7 +46,7 @@ def generate_message(data_json): | |
| 46 |  | 
| 47 | 
             
                if user_message == 'add':
         | 
| 48 | 
             
                    data = {
         | 
| 49 | 
            -
                        "preview_url":  | 
| 50 | 
             
                        "recipient_type": "individual",
         | 
| 51 | 
             
                        "to": whatsapp_id,
         | 
| 52 | 
             
                        "type": "text",
         | 
| @@ -56,7 +56,7 @@ def generate_message(data_json): | |
| 56 | 
             
                    }
         | 
| 57 | 
             
                elif user_message == 'substract':
         | 
| 58 | 
             
                    data = {
         | 
| 59 | 
            -
                        "preview_url":  | 
| 60 | 
             
                        "recipient_type": "individual",
         | 
| 61 | 
             
                        "to": whatsapp_id,
         | 
| 62 | 
             
                        "type": "text",
         | 
|  | |
| 46 |  | 
| 47 | 
             
                if user_message == 'add':
         | 
| 48 | 
             
                    data = {
         | 
| 49 | 
            +
                        "preview_url": False,
         | 
| 50 | 
             
                        "recipient_type": "individual",
         | 
| 51 | 
             
                        "to": whatsapp_id,
         | 
| 52 | 
             
                        "type": "text",
         | 
|  | |
| 56 | 
             
                    }
         | 
| 57 | 
             
                elif user_message == 'substract':
         | 
| 58 | 
             
                    data = {
         | 
| 59 | 
            +
                        "preview_url": False,
         | 
| 60 | 
             
                        "recipient_type": "individual",
         | 
| 61 | 
             
                        "to": whatsapp_id,
         | 
| 62 | 
             
                        "type": "text",
         | 
