Skip to content

Commit

Permalink
Change proposalID to proposal-id in gov REST
Browse files Browse the repository at this point in the history
Close #1963.
  • Loading branch information
mslipper committed Aug 21, 2018
1 parent 204762b commit 4ac1987
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

* Gaia
* Make the transient store key use a distinct store key. [#2013](https://github.com/cosmos/cosmos-sdk/pull/2013)
Expand Down
2 changes: 1 addition & 1 deletion x/gov/client/rest/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
// REST Variable names
// nolint
const (
RestProposalID = "proposalID"
RestProposalID = "proposal-id"
RestDepositer = "depositer"
RestVoter = "voter"
RestProposalStatus = "status"
Expand Down

0 comments on commit 4ac1987

Please sign in to comment.