small fix

This commit is contained in:
Ricardo Espinoza 2020-01-21 08:31:30 -05:00
parent 63c96497be
commit 434da06fa7
2 changed files with 0 additions and 6 deletions

View file

@ -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) {

View file

@ -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 = {