Mejoras
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user