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)) {
|
||||
request.setArguments(arguments);
|
||||
}
|
||||
MsAuthManager msAuthManager = JSONUtil.parseObject(configObj.optString("authManager"), MsAuthManager.class);
|
||||
if (msAuthManager != null) {
|
||||
request.setAuthManager(msAuthManager);
|
||||
if (StringUtils.isNotBlank(configObj.optString("authManager"))) {
|
||||
MsAuthManager msAuthManager = JSONUtil.parseObject(configObj.optString("authManager"), MsAuthManager.class);
|
||||
if (msAuthManager != null) {
|
||||
request.setAuthManager(msAuthManager);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue