From 47210006359974a38d3e979a0acee8fdd75de0cb Mon Sep 17 00:00:00 2001 From: John Wolf <4johnryanwolf@gmail.com> Date: Thu, 25 Jan 2024 17:36:44 -0500 Subject: [PATCH] Forgot to remove required from IdToken field --- ocpp2.0.1/types/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocpp2.0.1/types/types.go b/ocpp2.0.1/types/types.go index 5c20bc78..030a57af 100644 --- a/ocpp2.0.1/types/types.go +++ b/ocpp2.0.1/types/types.go @@ -262,7 +262,7 @@ type MessageContent struct { } type GroupIdToken struct { - IdToken string `json:"idToken" validate:"required,max=36"` + IdToken string `json:"idToken" validate:"max=36"` Type IdTokenType `json:"type" validate:"required,idTokenType"` }