GoodwayGroup / intacct-api

Node.js library to interact with Intacct's XML API
MIT License
5 stars 6 forks source link

Attempting to handle non-array data in errormessage function #17

Closed DaRizat closed 5 years ago

DaRizat commented 6 years ago

Getting an error that data.map is not a function. Suspect that this is due to the data field not being passed in as an array in certain cases. Threw some quick logic around it to only map if it is an array.

mrlannigan commented 5 years ago

Not needed anymore.