wrong scope for post and comment deletion

in #utopian-io7 years ago (edited)

Expected behavior

the scope for post or comment deletion should be delete_comment

Actual behavior

the scope for post or comment deletion is comment_delete (which generate an error when trying to delete a post or a comment)

How to reproduce

steemconnectapi.broadcast([
      'comment_delete',
      {
        'author': author,
        'permlink': permlink
      }
    ])
  • you'll get the error "invalid_scope The access_token scope does not allow the following operation(s): comment_delete"
  • Browser: all
  • Operating system: all



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

Hi can you please submit this on steemconnect project as well ?

You can contact us on Discord.
[utopian-moderator]

Thanks @decebal2dac!
I guess Utopian created it on behalf on me ;)
github issue

Hey @harpagon I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63204.10
ETH 2560.70
USDT 1.00
SBD 2.79