diff --git a/lib/tasks/cognigy/index.js b/lib/tasks/cognigy/index.js index 44050d0d..74d21b0a 100644 --- a/lib/tasks/cognigy/index.js +++ b/lib/tasks/cognigy/index.js @@ -174,7 +174,7 @@ class Cognigy extends Task { this.notifyTaskDone(); } - _makeGatherTask({textPrompt, urlPrompt}) { + _makeGatherTask({textPrompt, urlPrompt} = {}) { const config = this.config.makeGatherTaskConfig({textPrompt, urlPrompt}); const {retry, ...rest} = config; this.retry = retry;