RaspberryPiFoundation / editor-api

Code Editor backend
https://editor.raspberrypi.org
GNU Affero General Public License v3.0
23 stars 5 forks source link

Remove class member endpoint #417

Closed sra405 closed 2 months ago

sra405 commented 2 months ago
create-issue-branch[bot] commented 2 months ago

Branch issues/417-Remove_class_member_endpoint created!

conorriches commented 2 months ago

Rough notes

When you delete student, in profile, the deleted_at flag is set This causes a 422 from editor-api, as there is now a 404 from profile The 404 happens because the student can't be found, but ID is requested by API Student ID comes from class_members table If we delete row from class_memebers table, it works. But do we want to delete or soft delete?