dappros/ethora

View on GitHub
bots/merchantBot/handlers/question.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function questionHandler has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const questionHandler = (data) => {
    let currentButtonType = userData('getData', data.userJID, null, 'buttonType');

    getQuestionsInGroup(currentButtonType).then(result => {
        console.log('QUESTION LIST IN GROUP ===========> ', result)
Severity: Major
Found in bots/merchantBot/handlers/question.js - About 2 hrs to fix

There are no issues that match your filters.

Category
Status