This commit is contained in:
Matej Glasnák committed 2023-01-19 12:22:57 +01:00
1 parent ae33df38e4
commit 012a9ec926
5 files changed
+10 -4

No files matched your search

+4
View File
@@ -149,6 +149,10 @@ export default {
_config(config: any) {
if (config) console.error('NOT IMPLEMENTED')
if (!store.getters['auth/token']) {
return {headers: {}}
}
return {
headers: {
Authorization: `Bearer ${store.getters['auth/token']}`