Some improvements

This commit is contained in:
Jan Oberhauser
2021-03-25 23:45:16 +01:00
parent 0ba526dd67
commit d8883fbefe
4 changed files with 122 additions and 125 deletions

View File

@@ -22,13 +22,13 @@ export async function uprocApiRequest(this: IHookFunctions | IExecuteFunctions |
const options: OptionsWithUri = {
headers: {
Authorization: `Basic ${token}`,
"User-agent": "n8n"
'User-agent': 'n8n',
},
method,
qs,
body,
uri: uri || `https://api.uproc.io/api/v2/process`,
json: true
json: true,
};
try {