Feat: Set the return value of the webhook to a string. #10427 (#11945)

### What problem does this PR solve?

Feat: Set the return value of the webhook to a string. #10427

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-12-15 11:09:08 +08:00
committed by GitHub
parent 81eb03d230
commit 1ddd11f045
11 changed files with 132 additions and 147 deletions

View File

@ -355,13 +355,6 @@ function transformBeginParams(params: BeginFormSchemaType) {
...params.security,
ip_whitelist: params.security?.ip_whitelist.map((x) => x.value),
},
response: {
...params.response,
headers_template: transformArrayToObject(
params.response?.headers_template,
),
body_template: transformArrayToObject(params.response?.body_template),
},
};
}