From 7a708c4a40841feb14fa211a230159f97a09d313 Mon Sep 17 00:00:00 2001 From: Phong-tc <58209413+Phong-tc@users.noreply.github.com> Date: Tue, 19 Mar 2024 01:12:56 +0700 Subject: [PATCH] Update remote_start_transaction.go --- ocpp1.6/core/remote_start_transaction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocpp1.6/core/remote_start_transaction.go b/ocpp1.6/core/remote_start_transaction.go index 2b008077..142e7b53 100644 --- a/ocpp1.6/core/remote_start_transaction.go +++ b/ocpp1.6/core/remote_start_transaction.go @@ -12,7 +12,7 @@ const RemoteStartTransactionFeatureName = "RemoteStartTransaction" // The field definition of the RemoteStartTransaction request payload sent by the Central System to the Charge Point. type RemoteStartTransactionRequest struct { - ConnectorId *int `json:"connectorId,omitempty" validate:"omitempty,gt=0"` + ConnectorId int `json:"connectorId,omitempty" validate:"omitempty,gt=0"` IdTag string `json:"idTag" validate:"required,max=20"` ChargingProfile *types.ChargingProfile `json:"chargingProfile,omitempty"` }