Skip to content

Commit

Permalink
TODO: process opertors from within api request
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Mar 11, 2024
1 parent 8ab4f84 commit d65a4cb
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,13 @@ class CoCreateLazyLoader {
}
}

// TODO: should run processOperators before and after in order to perform complex opertions
// let execute = webhook.events[eventName];
// if (execute) {
// execute = await processOperators(data, execute);
// }
// TODO: should run processOperators before in order to perform complex opertions and get data
// data[name] = await processOperators(data, null, data[name]);

data[name] = await executeMethod(data.method, methodPath, instance, params)

// let execute = webhook.events[eventName];
// if (execute) {
// execute = await processOperators(data, execute);
// }
// TODO: should run processOperators after in order to perform complex opertions and get data
// data[name] = await processOperators(data, data[name]);

return data
} catch (error) {
Expand Down

0 comments on commit d65a4cb

Please sign in to comment.