mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-05 19:17:29 -06:00
fix: keep custom header values when editing resource
This commit is contained in:
@@ -307,7 +307,7 @@ async function updateHttpResource(
|
||||
}
|
||||
}
|
||||
|
||||
let headers = null;
|
||||
let headers = resource.headers;
|
||||
if (updateData.headers) {
|
||||
headers = JSON.stringify(updateData.headers);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user