forked from github/dataease
fix: 修复编辑Elasticsearch数据源,保存成功,但checkrequest接口报错
This commit is contained in:
parent
e4a978e3c7
commit
3d470890f6
@ -126,7 +126,7 @@ public class DatasourceServer implements DatasourceApi {
|
||||
}
|
||||
|
||||
public boolean checkRepeat(@RequestBody BusiDsRequest dataSourceDTO) {
|
||||
if (Arrays.asList("API", "Excel", "folder").contains(dataSourceDTO.getType())) {
|
||||
if (Arrays.asList("API", "Excel", "folder", "es").contains(dataSourceDTO.getType())) {
|
||||
return false;
|
||||
}
|
||||
BusiNodeRequest request = new BusiNodeRequest();
|
||||
|
Loading…
Reference in New Issue
Block a user