diff --git a/src/account.ts b/src/account.ts index e2c76d5..639eb50 100644 --- a/src/account.ts +++ b/src/account.ts @@ -26,6 +26,7 @@ import { import { AxiosResponse } from "axios"; export class AccountApi { + private apiUrl: string; private _jwtToken?: string; @@ -40,6 +41,9 @@ export class AccountApi { set jwtToken(value: string) { this._jwtToken = value; } + get jwtToken(): string { + return this._jwtToken; + } public static create(apiUrl: string): AccountApi { return new AccountApi(apiUrl);