Closed RLRama closed 5 months ago
This PR adds a filter to the errata registering endpoint, so that only the creator of the original document may register an errata related to this document. Now, the POST endpoint should be as so:
POST
/institution/{institutionId}/errata/create
institutionId
{ "description": "string", "documentId": 0, "healthcareProfessionalId": 0 }
Description
This PR adds a filter to the errata registering endpoint, so that only the creator of the original document may register an errata related to this document. Now, the
POST
endpoint should be as so:/institution/{institutionId}/errata/create
(unchanged)institutionId
Changes made
POST
endpoint.