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

Endpoint GET /clients/2 did not return the associated convictions and charges #64

Closed zmon closed 5 years ago

zmon commented 5 years ago

In previous versions, this returned an array of convictions, and within the convictions, there was an array of charges.

Can that be added back?

https://cmr-app.codeforkc.org/api/clients/2 returned

active: null
address_line_1: "205 TENTH AVENUE"
address_line_2: null
arresting_county: null
arresting_municipality: null
city: "New York"
city_name_here: null
county_name: null
county_of_prosecutor: null
division_name: null
division_number: null
dob: null
email: null
filing_court: null
full_name: "Tia Pol"
id: 2
judge_name: null
judicial_circuit_number: null
license_expiration_date: null
license_issuing_state: null
license_number: null
notes: null
other_agencies_name: null
petitioner_name: null
phone: "2126758805"
race: null
sex: null
state: null
status: null
user_id: null
zip_code: "10011"
zmon commented 5 years ago

After resolving the UI issue I will not beable to use this, due to organizations having to be moved out of clients in the VueX store.