mikermcneil / machinepack-mandrill

Node.js machines for use with the Mandrill API
http://node-machine.org/machinepack-mandrill
5 stars 7 forks source link

Success method fails if the httpBody doesn't match the example in the specification #9

Closed fabdrol closed 8 years ago

fabdrol commented 8 years ago

The success method fails because the result from Mandrill doesn't match the example in the specification object. Is there any way to remove the validation on the success method? This behaviour is not useful when working with (unpredictable) web APIs.

See also: https://github.com/node-machine/machinepack/issues/5

sgress454 commented 8 years ago

See https://github.com/node-machine/machinepack/issues/5#issuecomment-169423107.

For future reference, this is referring to the list-templates machine specifically.

The issue is that the example is invalid. Will fix and push up new version. Thanks for the heads-up!