|
@@ -806,8 +806,7 @@ namespace EVCB_OCPP.WEBAPI.Controllers.Version1
|
|
|
|
|
|
//check parameter
|
|
|
if (LocalList == null ||
|
|
|
- !IsValidEnum<UpdateType>((int)LocalList.UpdateType) || LocalList.LocalAuthorizationList == null
|
|
|
- || (LocalList.LocalAuthorizationList != null && LocalList.LocalAuthorizationList.Count == 0))
|
|
|
+ !IsValidEnum<UpdateType>((int)LocalList.UpdateType) )
|
|
|
{
|
|
|
|
|
|
return Request.CreateResponse(HttpStatusCode.BadRequest, new ErrorResponse() { Code = 2100, Message = EVCBConfiguration.ERROR_MSG_PARAMETER_OUTOFRANGE_INCORRECT });
|