The application encounters an issue when attempting to send the creation of a WhatsApp template that contains exactly 0 parameters. The problem arises from a lack of handling for messages without parameters in both the template creation process and the batch processing method, preventing successful message transmission.
To Reproduce
Steps to reproduce the behavior:
Navigate to the template creation section.
Attempt to create a WhatsApp template with 0 parameters.
Observe the error preventing successful template creation.
Additionally, attempt to send messages in batch processing with a template having 0 parameters.
Note the error preventing the transmission of messages.
Expected Behavior
The application should gracefully handle the creation and sending of WhatsApp templates with 0 parameters, allowing for successful template creation and message transmission.
Desktop (please complete the following information):
Describe the Bug
The application encounters an issue when attempting to send the creation of a WhatsApp template that contains exactly 0 parameters. The problem arises from a lack of handling for messages without parameters in both the template creation process and the batch processing method, preventing successful message transmission.
To Reproduce Steps to reproduce the behavior:
Expected Behavior
The application should gracefully handle the creation and sending of WhatsApp templates with 0 parameters, allowing for successful template creation and message transmission.
Desktop (please complete the following information):