Text measurement type reporting wrong error
This commit is contained in:
parent
d535cd85ff
commit
dfa2dd2eba
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ func (s *textMeasurementTypesStore) Update(id int64, text_measurement_type *mode
|
|||
}
|
||||
|
||||
if id != text_measurement_type.Id {
|
||||
return false, models.ErrObservationNotFound
|
||||
return false, models.ErrTextMeasurementTypeNotFound
|
||||
}
|
||||
|
||||
text_measurement_type.UpdatedAt = time.Now()
|
||||
|
|
Reference in a new issue