Historia-Clinica-La-Rioja / historia_clinica_LR

Sistema de Historia Clínica del Ministerio de Salud de La Rioja
Other
7 stars 1 forks source link

feat: add author-restricted filter to errata creation endpoint #121

Closed RLRama closed 5 months ago

RLRama commented 6 months ago

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:

{
  "description": "string",
  "documentId": 0,
  "healthcareProfessionalId": 0
}

Changes made