Rename checkResponseModeConfiguration to validateResponseModeConfiguration

This commit is contained in:
Dana Lee 2025-01-27 17:34:23 +01:00
parent 6258f0c9dd
commit 0c483a2551
No known key found for this signature in database

View file

@ -183,7 +183,7 @@ export function prepareFormData({
return formData;
}
const checkResponseModeConfiguration = (context: IWebhookFunctions) => {
const validateResponseModeConfiguration = (context: IWebhookFunctions) => {
const responseMode = context.getNodeParameter('responseMode', 'onReceived') as string;
const connectedNodes = context.getChildNodes(context.getNode().name);
@ -445,7 +445,7 @@ export async function formWebhook(
);
const method = context.getRequestObject().method;
checkResponseModeConfiguration(context);
validateResponseModeConfiguration(context);
//Show the form on GET request
if (method === 'GET') {