mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-16 08:00:10 +03:00
updated schema, rating request
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user