mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-16 16:21:32 +03:00
Добавлена привязка контекста к методу
This commit is contained in:
@@ -26,6 +26,7 @@ class ReferralSystem {
|
||||
this.getSubscribersList = this.getSubscribersList.bind(this);
|
||||
this.createReferralLink = this.createReferralLink.bind(this);
|
||||
this.subscribeToReferral = this.subscribeToReferral.bind(this);
|
||||
this.getMyReferral = this.getMyReferral.bind(this);
|
||||
}
|
||||
|
||||
getLink = (refererAddress: string) => fetchWithValidation(`${this.apiUrl}/referer/view/link`, linkSchema, {
|
||||
|
||||
Reference in New Issue
Block a user