joi-errors-for-forms icon indicating copy to clipboard operation
joi-errors-for-forms copied to clipboard

joi-errors-for-forms return null

Open Zedonboy opened this issue 7 years ago • 0 comments

Hi i passed error object from the failedAction Handler Joi-errors-for-forms return null Here's the Code

createUser : (req, reply, source, error) => {
       
 //If there Error
       
 if(error){
            console.log(error);
            console.log('Starting Convert Form')
            console.log(convertToform(error)); // returns null
        }
}

Your Help will be appreciated

Zedonboy avatar Oct 08 '17 18:10 Zedonboy