Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
xiphon
CCS Backend
Commits
e25d6a9e
Commit
e25d6a9e
authored
Jan 27, 2019
by
xiphon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implement completed proposals exporting to 'complete.json'
parent
ae970f85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
app/Console/Commands/UpdateSiteProposals.php
app/Console/Commands/UpdateSiteProposals.php
+6
-0
No files found.
app/Console/Commands/UpdateSiteProposals.php
View file @
e25d6a9e
...
...
@@ -47,6 +47,12 @@ class UpdateSiteProposals extends Command
];
$json
=
json_encode
(
$response
,
JSON_UNESCAPED_SLASHES
|
JSON_PRETTY_PRINT
);
\
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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment