mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
fix(AWS SES Node): Fix issue with email aliases not working for sending from or sending to (#9811)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -9,9 +9,8 @@ export async function executeWorkflow(testData: WorkflowTestData, nodeTypes: INo
|
||||
if (testData.nock) {
|
||||
const { baseUrl, mocks } = testData.nock;
|
||||
const agent = nock(baseUrl);
|
||||
mocks.forEach(({ method, path, statusCode, responseBody }) =>
|
||||
// @ts-expect-error
|
||||
agent[method](path).reply(statusCode, responseBody),
|
||||
mocks.forEach(({ method, path, statusCode, requestBody, responseBody }) =>
|
||||
agent[method](path, requestBody).reply(statusCode, responseBody),
|
||||
);
|
||||
}
|
||||
const executionMode = testData.trigger?.mode ?? 'manual';
|
||||
|
||||
Reference in New Issue
Block a user