intesys / openhospital-api

OpenHospital API
GNU General Public License v3.0
2 stars 4 forks source link

DELETE therapy is missing #13

Closed nicolaburetta closed 2 years ago

nicolaburetta commented 2 years ago

DELETE /therapies/{id}

kledis-pashaj-comdata commented 2 years ago

Added a new "/therapies/{therapyRowID}" delete mapping. Actually there was a delete on the controller, but it deletes all the therapies of a patient: "/therapies/{code_patient}". Changed to "/therapies/patient/{code_patient}"