Commit 154bea3f authored by Paul Jayme's avatar Paul Jayme

ensure file is published when json file is created

parent 4b805599
......@@ -163,6 +163,7 @@ class SurveyUserDefinedForm extends UserDefinedForm implements UserSurveysJsonSe
$file->setFromStream($fh, 'json/' . $name);
$file->write();
$file->publish('Stage', 'Live');
fclose($fh);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment