|
@@ -643,7 +643,7 @@ func (c *CheckWeightApiController) SavePatientInfoDialysis() {
|
643
|
643
|
evaluation.WeightBefore = weighing_before
|
644
|
644
|
evaluation.AssessmentTime = time.Now().Unix()
|
645
|
645
|
|
646
|
|
- err = service.UpadatePredialysisEvaluation(&evaluation)
|
|
646
|
+ err := service.UpadatePredialysisEvaluation(&evaluation)
|
647
|
647
|
if err != nil {
|
648
|
648
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDBUpdate)
|
649
|
649
|
return
|