lib/WufooTranslator.js
Function translate
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
WufooTranslator.prototype.translate = function (postBody, callback) {
process.nextTick(function () {
if (validBody(postBody)) {
debug('translating %j', postBody)
var struct = JSON.parse(postBody.FieldStructure)
- Create a ticketCreate a ticket