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