fix: encore name when fetching account

This commit is contained in:
Kalane 2024-12-13 22:06:41 +01:00
parent b8414791e1
commit 2ee411cbef
No known key found for this signature in database
GPG key ID: B389A4E3DFF8E414

View file

@ -22,7 +22,7 @@ export default class AccountEndpoint {
return new JaxRequest( return new JaxRequest(
getRiotRegion(region), getRiotRegion(region),
this.config, this.config,
`account/v1/accounts/by-riot-id/${name}/${tagline}`, `account/v1/accounts/by-riot-id/${encodeURI(name)}/${tagline}`,
this.limiter, this.limiter,
36000, 36000,
'riot' 'riot'