Fix Internal Server Error

This commit is contained in:
Jai A 2020-12-02 12:00:38 -07:00
parent 8df8bf33a4
commit e427ea44aa
No known key found for this signature in database
GPG Key ID: E8B7DFB8C62797AC
6 changed files with 18 additions and 6 deletions

View File

@ -71,7 +71,9 @@ export default {
async asyncData(data) {
const config = {
headers: {
Authorization: data.$auth.getToken('local'),
Authorization: data.$auth.getToken('local')
? data.$auth.getToken('local')
: '',
},
}

View File

@ -71,7 +71,9 @@ export default {
async asyncData(data) {
const config = {
headers: {
Authorization: data.$auth.getToken('local'),
Authorization: data.$auth.getToken('local')
? data.$auth.getToken('local')
: '',
},
}

View File

@ -14,7 +14,9 @@ export default {
async asyncData(data) {
const config = {
headers: {
Authorization: data.$auth.getToken('local'),
Authorization: data.$auth.getToken('local')
? data.$auth.getToken('local')
: '',
},
}

View File

@ -121,7 +121,9 @@ export default {
async asyncData(data) {
const config = {
headers: {
Authorization: data.$auth.getToken('local'),
Authorization: data.$auth.getToken('local')
? data.$auth.getToken('local')
: '',
},
}

View File

@ -220,7 +220,9 @@ export default {
async asyncData(data) {
const config = {
headers: {
Authorization: data.$auth.getToken('local'),
Authorization: data.$auth.getToken('local')
? data.$auth.getToken('local')
: '',
},
}

View File

@ -93,7 +93,9 @@ export default {
async asyncData(data) {
const config = {
headers: {
Authorization: data.$auth.getToken('local'),
Authorization: data.$auth.getToken('local')
? data.$auth.getToken('local')
: '',
},
}