From 7ef29346264aa577993f441e6870f3ff97bec9d4 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Wed, 18 Aug 2021 13:13:31 +0200 Subject: [PATCH] :zap: Add user-agent to Wordpress node --- packages/nodes-base/nodes/Wordpress/GenericFunctions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts b/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts index 5dfa4edfed..89eda9d98f 100644 --- a/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts @@ -22,6 +22,7 @@ export async function wordpressApiRequest(this: IExecuteFunctions | IExecuteSing headers: { Accept: 'application/json', 'Content-Type': 'application/json', + 'User-Agent': 'n8n', }, auth: { user: credentials!.username as string,