Skip to content

Conversation

@thejjw
Copy link

@thejjw thejjw commented Jan 15, 2024

What this PR does / why we need it:

/api/peersStatus/:channel endpoint does not work if :channel is channel name (e.g. mychannel) because proxy.getPeersStatus() expects channel_genesis_hash as parameter. I have changed the code to reflect such differences.

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE


Additional documentation, usage docs, etc.:


@thejjw thejjw requested a review from a team as a code owner January 15, 2024 17:14
* ]
*/
router.get('/peersStatus/:channel', (req, res) => {
const channelName = req.params.channel;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you verify the client-side if parameter name is channel or channel_genesis_hash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants