mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
🔥 Remove stray logs (#2478)
This commit is contained in:
parent
b61659f73e
commit
260ab395d1
|
@ -387,7 +387,6 @@ export class Discourse implements INodeType {
|
||||||
// if (simple === true) {
|
// if (simple === true) {
|
||||||
// const response = [];
|
// const response = [];
|
||||||
// for (const key of Object.keys(responseData)) {
|
// for (const key of Object.keys(responseData)) {
|
||||||
// console.log(key)
|
|
||||||
// for (const data of responseData[key]) {
|
// for (const data of responseData[key]) {
|
||||||
// response.push(Object.assign(data, { __type: key }));
|
// response.push(Object.assign(data, { __type: key }));
|
||||||
// }
|
// }
|
||||||
|
|
|
@ -573,7 +573,6 @@ export class Freshservice implements INodeType {
|
||||||
const assetFields = this.getNodeParameter('assetFieldsUi.assetFieldValue', i, []) as IDataObject[];
|
const assetFields = this.getNodeParameter('assetFieldsUi.assetFieldValue', i, []) as IDataObject[];
|
||||||
|
|
||||||
Object.assign(body, { type_fields: assetFields.reduce((obj, value) => Object.assign(obj, { [`${value.name}`]: value.value }), {}) });
|
Object.assign(body, { type_fields: assetFields.reduce((obj, value) => Object.assign(obj, { [`${value.name}`]: value.value }), {}) });
|
||||||
console.log(body);
|
|
||||||
responseData = await freshserviceApiRequest.call(this, 'POST', '/assets', body);
|
responseData = await freshserviceApiRequest.call(this, 'POST', '/assets', body);
|
||||||
|
|
||||||
} else if (operation === 'delete') {
|
} else if (operation === 'delete') {
|
||||||
|
|
|
@ -33,7 +33,6 @@ export async function netlifyApiRequest(this: IHookFunctions | IExecuteFunctions
|
||||||
if (Object.keys(option)) {
|
if (Object.keys(option)) {
|
||||||
Object.assign(options, option);
|
Object.assign(options, option);
|
||||||
}
|
}
|
||||||
console.log(options);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const credentials = await this.getCredentials('netlifyApi');
|
const credentials = await this.getCredentials('netlifyApi');
|
||||||
|
|
|
@ -235,7 +235,6 @@ export class TaigaTrigger implements INodeType {
|
||||||
|
|
||||||
// // @ts-ignore
|
// // @ts-ignore
|
||||||
// const requestSignature = headerData['x-taiga-webhook-signature'];
|
// const requestSignature = headerData['x-taiga-webhook-signature'];
|
||||||
// console.log(requestSignature);
|
|
||||||
|
|
||||||
// if (requestSignature === undefined) {
|
// if (requestSignature === undefined) {
|
||||||
// return {};
|
// return {};
|
||||||
|
|
|
@ -115,12 +115,6 @@ export async function apiRequestAllItems(this: IHookFunctions | IExecuteFunction
|
||||||
|
|
||||||
responseData = await apiRequest.call(this, method, endpoint, body, query);
|
responseData = await apiRequest.call(this, method, endpoint, body, query);
|
||||||
|
|
||||||
console.log({
|
|
||||||
endpoint,
|
|
||||||
method,
|
|
||||||
responseData,
|
|
||||||
});
|
|
||||||
|
|
||||||
returnData.items.push.apply(returnData.items, responseData.items);
|
returnData.items.push.apply(returnData.items, responseData.items);
|
||||||
} while (
|
} while (
|
||||||
responseData.page_count !== undefined &&
|
responseData.page_count !== undefined &&
|
||||||
|
|
|
@ -887,7 +887,6 @@ export class Wait implements INodeType {
|
||||||
} else {
|
} else {
|
||||||
// resume: dateTime
|
// resume: dateTime
|
||||||
const dateTime = this.getNodeParameter('dateTime', 0) as string;
|
const dateTime = this.getNodeParameter('dateTime', 0) as string;
|
||||||
console.log('dateTime', dateTime);
|
|
||||||
|
|
||||||
waitTill = new Date(dateTime);
|
waitTill = new Date(dateTime);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue