codeforkansascity / clear_my_record_backend

Backend API Code for Clear My Record, an application to assist people the process of expunging their criminal convictions.
MIT License
5 stars 3 forks source link

Allow dates to be passed as yyyy-mm-dd #56

Closed zmon closed 5 years ago

zmon commented 5 years ago

Dates being passed as "1985-01-02" return a 500 INTERNAL SERVER ERROR, with a message of "Issue updating client with ID 12"

The following should pass.

{"active":null,"address_line_1":"574 Oak St.","address_line_2":"#330","city":"Kansas City","dob":"1985-01-02","email":"paulb@savagesoft.com","full_name":"Bob Jones","id":12,"license_expiration_date":"2020-12-31","license_issuing_state":"Colorado","license_number":"J7723452345435","phone":"8166798010","race":"American Indian or Alaska Native","sex":"Intersex","state":"Arizona","status":null,"user":null,"user_id":null,"zip_code":"64110"}
ejmg commented 5 years ago

handled by #55