Skip to content

Commit

Permalink
fix(grades): Handle null value of criteria UUID field (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroChaparro authored Jan 19, 2024
1 parent f4c18a9 commit 7b8eb78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/grades/domain/dtos/grades_dtos.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ type StudentGradeInLaboratoryWithRubricDTO struct {

// SelectedCriteriaInStudentGradeDTO data transfer object to obtain the selected criteria in a student's grade
type SelectedCriteriaInStudentGradeDTO struct {
ObjectiveUUID string `json:"objective_uuid"`
CriteriaUUID string `json:"criteria_uuid"`
ObjectiveUUID string `json:"objective_uuid"`
CriteriaUUID *string `json:"criteria_uuid"`
}

// SetCommentToGradeDTO data transfer object to parse the request of the endpoint
Expand Down

0 comments on commit 7b8eb78

Please sign in to comment.