MolochVentures / moloch

👹 Moloch whose mind is pure machinery! Moloch whose blood is running money!
MIT License
670 stars 264 forks source link

Error: Invalid Number of parameters.. Got 9 expected 8! #102

Open DylanCantCode opened 3 years ago

DylanCantCode commented 3 years ago

moloch-tasks.js:48:36

Attemping to run moloch-deply is returning this error. It seems like 9 is the correct number of parameters that should be passed.

kh0rvus commented 3 years ago

The reason for this is due to the redundant parameter ABORT_WINDOW_IN_PERIODS that is passed to the Moloch constructor in moloch-tasks.js.

removing it should fix the error.

just submitted a PR to fix this.