mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
.
This commit is contained in:
1 parent
ae33df38e4
commit
012a9ec926
5 files changed
+10
-4
No files matched your search
@@ -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']}`
|
||||
|
||||
Reference in new issue
Block a user