This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import logger from "../utils/logit";
|
||||
import { getToken } from "../utils/authutil";
|
||||
import store from "../store";
|
||||
|
||||
export default {
|
||||
status(response) {
|
||||
@@ -17,7 +17,7 @@ export default {
|
||||
return {
|
||||
Accept: "application/json, text/plain, */*",
|
||||
"Content-Type": "application/json",
|
||||
Authorization: "Bearer " + getToken()
|
||||
Authorization: "Bearer " + store.state.apiToken
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user