Commit cc786129 authored by janis.streib's avatar janis.streib 🦉
Browse files

FIX: chekc for teken, not user

parent 7a6a40cc
......@@ -56,7 +56,7 @@ export default {
SwaggerUI.plugins.DownloadUrl
],
requestInterceptor: function (req) {
if (self.$store.state.user) {
if (self.$store.state.token) {
req.headers.Authorization = 'Bearer ' + self.$store.state.token.token
window.console.log('Authorized from Session')
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment