错误漏删
This commit is contained in:
@@ -339,7 +339,7 @@ class BoxApi {
|
||||
|
||||
private _authHeader(token: string | null = null): object {
|
||||
// const access_token = token === "" ? this.token : token;
|
||||
const alertToken = localStorage.getItem(`alertToken`) || token || this.token || "" ||"";
|
||||
const alertToken = localStorage.getItem(`alertToken`) || token || this.token || "" || "";
|
||||
return {
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user