From 7d91f4c1d51d7f489c3747bb00eed5983ee49a2e Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Mon, 12 Dec 2016 16:56:52 +0100 Subject: [PATCH] Add required flag to strategy parameters --- .../20161212101749-better-strategy-parameter-definitions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/20161212101749-better-strategy-parameter-definitions.js b/migrations/20161212101749-better-strategy-parameter-definitions.js index fdb98656a8..7762fc0944 100644 --- a/migrations/20161212101749-better-strategy-parameter-definitions.js +++ b/migrations/20161212101749-better-strategy-parameter-definitions.js @@ -10,7 +10,7 @@ exports.up = function (db, callback) { .map(({ name, parameters_template }) => { const parameters = []; Object.keys(parameters_template || {}).forEach(p => { - parameters.push({ name: p, type: parameters_template[p], description: '' }); + parameters.push({ name: p, type: parameters_template[p], description: '', required: false }); }); return { name, parameters }; })