Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
monero-project
CCS Backend
Commits
e25d6a9e
Commit
e25d6a9e
authored
Jan 27, 2019
by
xiphon
Browse files
implement completed proposals exporting to 'complete.json'
parent
ae970f85
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
Try again
or
attach a new 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