mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
⚡ small fix
This commit is contained in:
parent
63c96497be
commit
434da06fa7
|
@ -27,12 +27,7 @@ export async function salesmateApiRequest(this: IHookFunctions | IExecuteFunctio
|
|||
json: true
|
||||
};
|
||||
if (!Object.keys(body).length) {
|
||||
delete options.body;
|
||||
}
|
||||
console.log(JSON.stringify(options.body))
|
||||
// console.log(options.body.query.group.rules)
|
||||
// console.log(options.body.query.group.operator)
|
||||
|
||||
try {
|
||||
return await this.helpers.request!(options);
|
||||
} catch (error) {
|
||||
|
|
|
@ -261,7 +261,6 @@ export class Salesmate implements INodeType {
|
|||
const conditions = filtersUi.conditions as IDataObject;
|
||||
if (conditions.conditionsUi) {
|
||||
for (const condition of conditions.conditionsUi as IDataObject[]) {
|
||||
console.log(condition)
|
||||
const filter: IDataObject = {};
|
||||
filter.moduleName = 'Company';
|
||||
filter.field = {
|
||||
|
|
Loading…
Reference in a new issue