conservancy / reimbursinator

Git Up GitHub: https://GiveUpGitHub.org
https://GiveUpGitHub.org
GNU Affero General Public License v3.0
7 stars 6 forks source link

Superfluous report ID in update section API address #119

Closed danieldupriest closed 5 years ago

danieldupriest commented 5 years ago

We arent' using the "Report ID" part of the address at all when updating a section. For example: /api/v1/report/10/section/55. Only the section ID is used. We could remove the report ID completely and simplify the endpoint to /api/v1/section/55. Would require a minor frontend and backend code patch.