mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Minor improvements on Signl4 Node
This commit is contained in:
@@ -8,8 +8,8 @@ import {
|
||||
|
||||
import {
|
||||
OptionsWithUri,
|
||||
} from 'request';
|
||||
|
||||
} from 'request';
|
||||
|
||||
/**
|
||||
* Make an API request to SIGNL4
|
||||
*
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
* @param {string} teamSecret
|
||||
* @param {object} options
|
||||
* @returns {Promise<any>}
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
export async function SIGNL4ApiRequest(this: IExecuteFunctions, method: string, body: string, query: IDataObject = {}, option: IDataObject = {}): Promise<any> { // tslint:disable-line:no-any
|
||||
@@ -48,8 +48,6 @@ export async function SIGNL4ApiRequest(this: IExecuteFunctions, method: string,
|
||||
}
|
||||
options = Object.assign({}, options, option);
|
||||
|
||||
console.log(options);
|
||||
|
||||
try {
|
||||
return await this.helpers.request!(options);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user