1
This commit is contained in:
@@ -20,6 +20,10 @@ func (c *body_measurement) Save(ctx context.Context, req *dto.BodyMeasurementSav
|
||||
Height: req.Height,
|
||||
Weight: req.Weight,
|
||||
SkinTone: req.SkinTone,
|
||||
Bust: req.Bust,
|
||||
Waist: req.Waist,
|
||||
Hip: req.Hip,
|
||||
Shoulder: req.Shoulder,
|
||||
FitParams: req.FitParams,
|
||||
}); err != nil {
|
||||
return nil, err
|
||||
@@ -36,6 +40,10 @@ func (c *body_measurement) Get(ctx context.Context, req *dto.BodyMeasurementGetR
|
||||
Height: b.Height,
|
||||
Weight: b.Weight,
|
||||
SkinTone: b.SkinTone,
|
||||
Bust: b.Bust,
|
||||
Waist: b.Waist,
|
||||
Hip: b.Hip,
|
||||
Shoulder: b.Shoulder,
|
||||
FitParams: b.FitParams,
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user