Update updateResource.ts

This commit is contained in:
Shlee
2026-08-16 21:29:44 +09:30
committed by GitHub
parent 048e4fc73c
commit e9e8457d06
+2 -1
View File
@@ -498,7 +498,8 @@ async function updateHttpResource(
} }
// catch when the resource policy changes or gets cleared // catch when the resource policy changes or gets cleared
if (resource.resourcePolicyId != updateData.resourcePolicyId) { if (updateData.resourcePolicyId !== undefined &&
resource.resourcePolicyId !== updateData.resourcePolicyId) {
await clearResourceSpecificSettings( await clearResourceSpecificSettings(
resource.resourceId, resource.resourceId,
resource.orgId, resource.orgId,