Skip to content

Commit d48673c

Browse files
authored
Apply suggestion from @andig
1 parent 70c8894 commit d48673c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ocpp1.6/types/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ type SampledValue struct {
310310

311311
type MeterValue struct {
312312
Timestamp *DateTime `json:"timestamp" validate:"required"`
313-
SampledValue []SampledValue `json:"sampledValue" validate:"required,min=1,dive"`
313+
SampledValue []SampledValue `json:"sampledValue" validate:"required,min=1,dive"`
314314
}
315315

316316
// Initialize validator

0 commit comments

Comments
 (0)