updated schema, rating request

This commit is contained in:
Demid
2023-04-14 18:12:40 +03:00
parent ff1725b5fb
commit 4f184bdd90
4 changed files with 26 additions and 11 deletions

View File

@@ -160,11 +160,15 @@ class ReferralSystem {
errorSchema
);
getRating = () =>
getRating = (refererAddress: string) =>
fetchWithValidation(
`${this.apiUrl}/referer/ve/rating-table-leaderboard`,
ratingSchema,
{},
{
headers: {
'referer-address': refererAddress,
},
},
errorSchema
);