Merge PR #2061: Change proposalID to proposal-id in gov REST

Close #1963.
This commit is contained in:
Matthew Slipper 2018-08-21 20:44:13 -07:00 committed by Rigel
parent 5ce9b9af5a
commit d8f01be211
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ BREAKING CHANGES
* Gaia CLI (`gaiacli`)
* [x/stake] Validator.Owner renamed to Validator.Operator
* [cli] unsafe_reset_all, show_validator, and show_node_id have been renamed to unsafe-reset-all, show-validator, and show-node-id
* [cli] \#2061 changed proposalID in governance REST endpoints to proposal-id
* [cli] \#2014 `gaiacli advanced` no longer exists - to access `ibc`, `rest-server`, and `validator-set` commands use `gaiacli ibc`, `gaiacli rest-server`, and `gaiacli tendermint`, respectively
* Gaia

View File

@ -17,7 +17,7 @@ import (
// REST Variable names
// nolint
const (
RestProposalID = "proposalID"
RestProposalID = "proposal-id"
RestDepositer = "depositer"
RestVoter = "voter"
RestProposalStatus = "status"