From f50f954679a55a070d596b54d98797738167b8b5 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Tue, 21 Mar 2023 15:01:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE)?= =?UTF-8?q?=EF=BC=9A=E5=88=9B=E5=BB=BA=E7=BC=BA=E9=99=B7=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E4=BA=BA=E4=BF=A1=E6=81=AF=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1024663 --user=王旭 【测试跟踪】github#22942,Azure Devops 平台,创建缺陷,创建人不是【个人信息】配置的 token 对应的人,而是 【工作空间】配置的 token 对应的人 https://www.tapd.cn/55049933/s/1353708 --- .../main/java/io/metersphere/service/wapper/UserService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-track/backend/src/main/java/io/metersphere/service/wapper/UserService.java b/test-track/backend/src/main/java/io/metersphere/service/wapper/UserService.java index 5c75c0df51..d48e093f2d 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/wapper/UserService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/wapper/UserService.java @@ -21,7 +21,7 @@ public class UserService { public UserDTO.PlatformInfo getCurrentPlatformInfo(String workspaceId) { String currentPlatformInfoStr = getCurrentPlatformInfoStr(workspaceId); if (StringUtils.isNotBlank(currentPlatformInfoStr)) { - JSON.parseObject(currentPlatformInfoStr, UserDTO.PlatformInfo.class); + return JSON.parseObject(currentPlatformInfoStr, UserDTO.PlatformInfo.class); } return null; }