Commit e25d6a9e authored by xiphon's avatar xiphon
Browse files

implement completed proposals exporting to 'complete.json'

parent ae970f85
...@@ -47,6 +47,12 @@ class UpdateSiteProposals extends Command ...@@ -47,6 +47,12 @@ class UpdateSiteProposals extends Command
]; ];
$json = json_encode($response, JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT); $json = json_encode($response, JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT);
\Storage::put('ffs.json', $json); \Storage::put('ffs.json', $json);
$response = [
$this->getProposals('Completed Proposals', 'COMPLETED'),
];
$json = json_encode($response, JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT);
\Storage::put('complete.json', $json);
} }
private function ideaProposals() private function ideaProposals()
......
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