开启后端严格空值检查
This commit is contained in:
@@ -134,7 +134,7 @@ export function updateAdminCloudtentaclesSourceConfig(
|
||||
});
|
||||
const saved = saveCloudtentaclesSourceByKey(sourceKey, normalized);
|
||||
const shouldClearSession = hasCloudtentaclesCredentialContextChanged(
|
||||
current,
|
||||
current || undefined,
|
||||
saved
|
||||
);
|
||||
const session = shouldClearSession
|
||||
@@ -146,7 +146,7 @@ export function updateAdminCloudtentaclesSourceConfig(
|
||||
filePath: getCloudtentaclesSourcesFilePath(),
|
||||
sessionFilePath: getCloudtentaclesSessionFilePath(),
|
||||
source: mapAdminCloudtentaclesSourceConfig(saved),
|
||||
session: mapAdminCloudtentaclesSession(session),
|
||||
session: mapAdminCloudtentaclesSession(session || undefined),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user