Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix commentdata json output format #364

Merged
merged 1 commit into from
Nov 2, 2021
Merged

Conversation

josx
Copy link

@josx josx commented Nov 1, 2021

Right now when writing json file on commentdata command, comments are not separated by comma, just by enter.

With this fix the output data is valid json format.

Replace example:

{ "Comments":[
{"post_id": "", "user_id": "", "username": "", "comment": ""}
{"post_id": "", "user_id": "", "username": "", "comment": ""},
]}

with

{ "Comments":[
{"post_id": "", "user_id": "", "username": "", "comment": ""},
{"post_id": "", "user_id": "", "username": "", "comment": ""}
]}

@josx josx changed the base branch from master to development November 1, 2021 17:12
@josx josx changed the base branch from development to master November 1, 2021 17:13
Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>
@josx josx changed the base branch from master to development November 1, 2021 17:15
@Datalux Datalux merged commit 4b992c9 into Datalux:development Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants