Merge pull request #1936 from PavanendraBaahubali/Pavan/fix-custom-header-reset

Fix: prevent custom headers from being cleared on save
This commit is contained in:
Owen Schwartz
2025-11-29 11:00:46 -05:00
committed by GitHub

View File

@@ -307,7 +307,7 @@ async function updateHttpResource(
}
}
let headers = null;
let headers = resource.headers;
if (updateData.headers) {
headers = JSON.stringify(updateData.headers);
}