mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(Respond to Webhook Node): Fix issue that content-type header gets overwritten (#5088)
fix(Respond To Webhook Node): Fix issue that content-type header gets overwritten
This commit is contained in:
@@ -249,7 +249,7 @@ export class RespondToWebhook implements INodeType {
|
||||
);
|
||||
}
|
||||
|
||||
if (headers['content-type']) {
|
||||
if (!headers['content-type']) {
|
||||
headers['content-type'] = binaryData.mimeType;
|
||||
}
|
||||
responseBody = binaryDataBuffer;
|
||||
|
||||
Reference in New Issue
Block a user