You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Supply a specific error or response (empty array) that indicates when there are no delegates that fulfil minimum vote weight to be standby.
Motivation
Currently API returns 404 when there are no delegates with voteWeight over 1000 LSK to be eligible as standby on this call (https://testnet-service.lisk.com/api/v2/accounts?isDelegate=true&limit=20&status=standby). As Desktop team plans to display a label that indicates no standby delegates were found instead of a general 'nothing found'. For that desktop needs a specific way of indicating that case instead of a 404
sameersubudhi
changed the title
Indicate in API response when there are no delegates that fulfil minimum vote weight to be elegible as standby
Indicate in API response when there are no delegates that fulfil minimum vote weight to be eligible as standby
Nov 29, 2021
Description
Supply a specific error or response (empty array) that indicates when there are no delegates that fulfil minimum vote weight to be standby.
Motivation
Currently API returns 404 when there are no delegates with voteWeight over 1000 LSK to be eligible as standby on this call (https://testnet-service.lisk.com/api/v2/accounts?isDelegate=true&limit=20&status=standby). As Desktop team plans to display a label that indicates no standby delegates were found instead of a general 'nothing found'. For that desktop needs a specific way of indicating that case instead of a 404
Additional Information
@LiskHQ/lisk-desktop#3948
The text was updated successfully, but these errors were encountered: