瀏覽代碼

set completed_session not print nu llparameter

shayne_lo 7 月之前
父節點
當前提交
866a2c2677
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      EVCB_OCPP.WSServer/Service/BusinessService/OuterBusinessService.cs

+ 1 - 1
EVCB_OCPP.WSServer/Service/BusinessService/OuterBusinessService.cs

@@ -346,7 +346,7 @@ namespace EVCB_OCPP.WSServer.Service.BusinessService
 
 
             };
             };
 
 
-            logger.LogDebug("completed_session " + JsonConvert.SerializeObject(request));
+            logger.LogDebug("completed_session " + JsonConvert.SerializeObject(request, GlobalConfig.JSONSERIALIZER_FORMAT));
             var response = await httpClient.Post(
             var response = await httpClient.Post(
                 signMaterial.APIUrl + "completed_session", 
                 signMaterial.APIUrl + "completed_session", 
                 new Dictionary<string, string>()
                 new Dictionary<string, string>()