mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
+ added new tools
This commit is contained in:
@@ -20,12 +20,15 @@ export async function uprocApiRequest(this: IHookFunctions | IExecuteFunctions |
|
||||
}
|
||||
const token = Buffer.from(`${credentials.email}:${credentials.apiKey}`).toString('base64');
|
||||
const options: OptionsWithUri = {
|
||||
headers: { Authorization: `Basic ${token}` },
|
||||
headers: {
|
||||
Authorization: `Basic ${token}`,
|
||||
"User-agent": "n8n"
|
||||
},
|
||||
method,
|
||||
qs,
|
||||
body,
|
||||
uri: uri || `https://api.uproc.io/api/v2/process`,
|
||||
json: true,
|
||||
json: true
|
||||
};
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user