mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(n8n Form Node): Redirection update (no-changelog) (#13104)
Co-authored-by: Dana <152518854+dana-gill@users.noreply.github.com>
This commit is contained in:
@@ -243,7 +243,7 @@ export class Form extends Node {
|
||||
{
|
||||
name: 'default',
|
||||
httpMethod: 'POST',
|
||||
responseMode: 'onReceived',
|
||||
responseMode: 'responseNode',
|
||||
path: '',
|
||||
restartWebhook: true,
|
||||
isFullPath: true,
|
||||
@@ -384,6 +384,13 @@ export class Form extends Node {
|
||||
const waitTill = configureWaitTillDate(context, 'root');
|
||||
await context.putExecutionToWait(waitTill);
|
||||
|
||||
context.sendResponse({
|
||||
headers: {
|
||||
location: context.evaluateExpression('{{ $execution.resumeFormUrl }}', 0),
|
||||
},
|
||||
statusCode: 307,
|
||||
});
|
||||
|
||||
return [context.getInputData()];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user