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

Disable curation rewards on comments #1228

Merged
merged 1 commit into from
Dec 22, 2017

Conversation

Sekhmet
Copy link
Contributor

@Sekhmet Sekhmet commented Dec 22, 2017

Fixes #1213

Changes:

  • Add broadcastComment function that broadcasts comment and comment_options operations

jsonMetadata,
).then((resp) => {
const focusedComment = {
author: resp.result.operations[0][1].author,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish there was a better way to retrieve the author rather than this line resp.result.operations[0][1], looks like a lot of things can go wrong here since you assume that result.operations is an array and the first index is the one you want get then you get the 2nd index of that lol... oh well i guess thats what the response returns, can't be helped i guess.

Copy link
Contributor

@jm90m jm90m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Sekhmet Sekhmet merged commit c69ecd2 into busyorg:master Dec 22, 2017
@Sekhmet Sekhmet deleted the curation-reward-comments branch December 22, 2017 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants