wip
This commit is contained in:
@ -107,14 +107,14 @@ class Http {
|
||||
url: BASE_URL + url,
|
||||
data,
|
||||
method: method,
|
||||
header: { 'content-type': contentType /*, 'user-Id': '588002047871053824' */ },
|
||||
header: { 'content-type': contentType /*'user-Id': '588002047871053824' */ },
|
||||
};
|
||||
return this.request(option);
|
||||
};
|
||||
|
||||
async init() {
|
||||
async init(inviteCode?: string) {
|
||||
if (isTokenExpired()) {
|
||||
await refreshToken();
|
||||
await refreshToken(inviteCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user