dappros/ethora

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

Summary

Maintainability
A
1 hr
Test Coverage

Function processingHandler has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const processingHandler = (data) => {
    console.log('=> processingHandler || Message received from ', data.receiver, data.message);
    let currentButtonType = userData('getData', data.userJID, null, 'buttonType');
    getListAnswersInGroup(data.receiverData.attrs.senderJID, currentButtonType).then(answerList => {

Severity: Minor
Found in bots/merchantBot/handlers/processing.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status