feat: add height field to result in converter

This commit is contained in:
2025-09-29 21:23:03 +03:00
parent 6638ef1b5f
commit ed7e7608fe
2 changed files with 19 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ func WbDimensionsToProto(s wbclient.OptContentV2GetCardsListPostOKCardsItemDimen
value := s.Value
result.Length = int64(value.Length.Value)
result.Width = int64(value.Width.Value)
result.Height = int64(value.Height.Value)
result.WeightBrutto = float32(value.WeightBrutto.Value)
result.IsValid = value.IsValid.Value
return &result