fix: all time leaders schema

This commit is contained in:
Kirill Litvinov
2024-02-13 20:45:18 +03:00
parent 81ef6a6aff
commit 60a22f86fb
3 changed files with 5 additions and 5 deletions

View File

@@ -236,14 +236,14 @@ class ReferralSystem {
getAllTimeLeaders = (refererAddress: string | undefined) =>
fetchWithValidation(
`${this.apiUrl}/referer/ve/leaderboard-lifetime`,
ratingSchema,
allTimeLeadersSchema,
{
headers:
refererAddress !== undefined
? { 'referer-address': refererAddress }
: {},
},
allTimeLeadersSchema
errorSchema
);
getContractsAddresses = () =>