mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
⚡ Add user-agent to Wordpress node
This commit is contained in:
parent
967aabbf55
commit
7ef2934626
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue