Skip to content

Commit

Permalink
fix(接口测试): 修复导入同一接口报错格式错误的缺陷
Browse files Browse the repository at this point in the history
--bug=1025958 --user=王孝刚 【接口测试】接口导入-存在相同接口时-导入接口-报错格式错误
https://www.tapd.cn/55049933/s/1368559
  • Loading branch information
wxg0103 authored and liuruibin committed May 5, 2023
1 parent 0b6a1c8 commit fa423b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ private void removeSameData(Map<String, List<ApiDefinitionWithBLOBs>> repeatData
List<ApiDefinitionWithBLOBs> moduleDatas = moduleOptionData.get(modulePath);
if (moduleDatas != null && moduleDatas.size() <= 1) {
ApiModule apiModule = moduleMap.get(modulePath);
if (parentIdModuleMap.get(apiModule.getId()) == null) {
if (apiModule != null && parentIdModuleMap.get(apiModule.getId()) == null) {
moduleMap.remove(modulePath);
}
moduleDatas.remove(apiDefinitionWithBLOBs);
Expand Down

0 comments on commit fa423b2

Please sign in to comment.