Open cieplak opened 10 years ago
Why is it exposing the error message?
I think this is related to an error that I was seeing before in some local testing.
Assuming that this error is related, then the 500 is coming from midlr, where midlr is expecting that the card type is a dict instead of a string, which means that when it tries to sanitize payload by essentially doing {}.get('number') it fails because it is doing .get on a unicode string.