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

"params" object is not required for set_whitelist_blacklist, add_greylist_accounts, remove_greylist_accounts #87

Closed
matthewdarwin opened this issue Sep 1, 2022 · 2 comments · Fixed by #171
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@matthewdarwin
Copy link

matthewdarwin commented Sep 1, 2022

https://github.com/AntelopeIO/leap/blob/main/plugins/producer_api_plugin/producer.swagger.yaml#L330

This is correct:

curl -d '{"actor_whitelist":[],"actor_blacklist":[],"contract_whitelist":[],"contract_blacklist":[],"action_blacklist":[],"key_blacklist":[]}' http://127.0.0.1:8888/v1/producer/set_whitelist_blacklist

There is no "params".

@matthewdarwin matthewdarwin changed the title params object is not required for set_whitelist_blacklist, add_greylist_accounts, remove_greylist_accounts "params" object is not required for set_whitelist_blacklist, add_greylist_accounts, remove_greylist_accounts Sep 1, 2022
@ericpassmore
Copy link
Contributor

Getting Started

Repository owner moved this from Todo to Done in Team Backlog Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Archived in project
3 participants