bots/merchantBot/handlers/question.js
Function questionHandler
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const questionHandler = (data) => {
let currentButtonType = userData('getData', data.userJID, null, 'buttonType');
getQuestionsInGroup(currentButtonType).then(result => {
console.log('QUESTION LIST IN GROUP ===========> ', result)
- Create a ticketCreate a ticket