bots/questionnaire/handlers/question.js
Function questionHandler
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const questionHandler = (data) => {
getListQuestions().then(result => {
let questions = result;
getListAnswers(data.receiver).then(result => {
if(questions.length === result.length){
- Create a ticketCreate a ticket