Skip to content

Commit d65a4cb

Browse files
committed
TODO: process opertors from within api request
1 parent 8ab4f84 commit d65a4cb

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/server.js

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -178,18 +178,13 @@ class CoCreateLazyLoader {
178178
}
179179
}
180180

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

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

189-
// let execute = webhook.events[eventName];
190-
// if (execute) {
191-
// execute = await processOperators(data, execute);
192-
// }
186+
// TODO: should run processOperators after in order to perform complex opertions and get data
187+
// data[name] = await processOperators(data, data[name]);
193188

194189
return data
195190
} catch (error) {

0 commit comments

Comments
 (0)