The findByAccount or filterByAccount currently use === to compare account details.
In order to support search for lower/uppercase account details we should normalize the query.
The `findByAccount` or `filterByAccount` currently use `===` to compare account details.
In order to support search for lower/uppercase account details we should normalize the query.
https://github.com/67P/kredits-contracts/blob/master/lib/contracts/contributor.js#L44
e.g. simply call `toLowerCase()` on the data.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The
findByAccountorfilterByAccountcurrently use===to compare account details.In order to support search for lower/uppercase account details we should normalize the query.
https://github.com/67P/kredits-contracts/blob/master/lib/contracts/contributor.js#L44
e.g. simply call
toLowerCase()on the data.