Skip to content

Commit 28be971

Browse files
committed
fix: incorrect datetime reference
1 parent 178648e commit 28be971

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ocpp2.1/types/smart_charging.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package types
22

33
import (
4-
"github.com/lorenzodonini/ocpp-go/ocpp2.0.1/types"
54
"gopkg.in/go-playground/validator.v9"
65
)
76

@@ -174,7 +173,7 @@ type ChargingProfile struct {
174173
MaxOfflineDuration *int `json:"maxOfflineDuration,omitempty" validate:"omitempty"`
175174
InvalidAfterOfflineDuration bool `json:"invalidAfterOfflineDuration,omitempty" validate:"omitempty"`
176175
DynUpdateInterval *int `json:"dynUpdateInterval,omitempty" validate:"omitempty"`
177-
DynUpdateTime *types.DateTime `json:"dynUpdateTime,omitempty" validate:"omitempty"`
176+
DynUpdateTime *DateTime `json:"dynUpdateTime,omitempty" validate:"omitempty"`
178177
PriceScheduleSignature *string `json:"priceScheduleSignature,omitempty" validate:"omitempty,max=256"`
179178
ChargingSchedule []ChargingSchedule `json:"chargingSchedule" validate:"required,min=1,max=3,dive"`
180179
}

0 commit comments

Comments
 (0)