internal/api/corrections.go
internal/api · 49 lines · 2 declarations · source
Declarations
type recordCorrectionRequest
type recordCorrectionRequest struct {
Records []pg.RecordCorrection `json:"records"`
}
method Server.correctRecords
func (s *Server) correctRecords(w http.ResponseWriter, r *http.Request, grant credential.Grant)
Attribution comes from the credential and retained target; the body cannot replace either.