Merge branch 'main' of https://github.com/metersphere/metersphere
This commit is contained in:
commit
a27af7135f
|
@ -67,9 +67,11 @@ public class SwaggerUrlImportJob extends MsScheduleJob {
|
||||||
if (CollectionUtils.isNotEmpty(arguments)) {
|
if (CollectionUtils.isNotEmpty(arguments)) {
|
||||||
request.setArguments(arguments);
|
request.setArguments(arguments);
|
||||||
}
|
}
|
||||||
MsAuthManager msAuthManager = JSONUtil.parseObject(configObj.optString("authManager"), MsAuthManager.class);
|
if (StringUtils.isNotBlank(configObj.optString("authManager"))) {
|
||||||
if (msAuthManager != null) {
|
MsAuthManager msAuthManager = JSONUtil.parseObject(configObj.optString("authManager"), MsAuthManager.class);
|
||||||
request.setAuthManager(msAuthManager);
|
if (msAuthManager != null) {
|
||||||
|
request.setAuthManager(msAuthManager);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue