This commit is contained in:
alfredojl
2020-09-16 16:38:10 -05:00
parent 7e5113a588
commit 1fc96d23d0
+2 -1
View File
@@ -169,6 +169,7 @@ export default {
methods: {
async getComputers() {
this.loading = true;
this.respuesta = [];
const localToken = window.localStorage.token;
axios.get(`${ config.api }/api/computers`, {
headers: {
@@ -189,7 +190,7 @@ export default {
async getPrinters() {
this.loading = true;
this.respuesta = [];
const localToken = window.localStorage.token + '1';
const localToken = window.localStorage.token;
axios.get(`${ config.api }/api/printers`, {
headers: {
token: localToken