Skip to content

Commit

Permalink
fix: typo executeect updated to object
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Mar 11, 2024
1 parent d65a4cb commit a1b6258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class CoCreateLazyLoader {
async function processOperators(data, event, execute, parent = null, parentKey = null) {
if (Array.isArray(execute)) {
execute.forEach(async (item, index) => await processOperators(data, event, item, execute, index));
} else if (typeof execute === 'executeect' && execute !== null) {
} else if (typeof execute === 'object' && execute !== null) {
for (let key of Object.keys(execute)) {
// Check if key is an operator
if (key.startsWith('$')) {
Expand Down

0 comments on commit a1b6258

Please sign in to comment.