mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
⚡ Add user-agent to Wordpress node
This commit is contained in:
@@ -22,6 +22,7 @@ export async function wordpressApiRequest(this: IExecuteFunctions | IExecuteSing
|
|||||||
headers: {
|
headers: {
|
||||||
Accept: 'application/json',
|
Accept: 'application/json',
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
'User-Agent': 'n8n',
|
||||||
},
|
},
|
||||||
auth: {
|
auth: {
|
||||||
user: credentials!.username as string,
|
user: credentials!.username as string,
|
||||||
|
|||||||
Reference in New Issue
Block a user