Using the parsed form parameter 'options' instead of looking for an URL parameter.

This commit is contained in:
Andreas Cordsen 2018-10-16 15:13:34 +02:00
parent 89ed5365ea
commit 9aba9c2d48

View File

@ -106,7 +106,7 @@ public class CreateProjectCommand extends Command {
} }
JSONObject optionObj = null; JSONObject optionObj = null;
String optionsString = request.getParameter("options"); String optionsString = parameters.getProperty("options");
if (optionsString != null && !optionsString.isEmpty()) { if (optionsString != null && !optionsString.isEmpty()) {
optionObj = ParsingUtilities.evaluateJsonStringToObject(optionsString); optionObj = ParsingUtilities.evaluateJsonStringToObject(optionsString);
} else { } else {