Added Bearer in user auth
This commit is contained in:
parent
610a4dc1fa
commit
cae143cacd
|
@ -1 +1 @@
|
||||||
{"branch_name":"dev","last_commit_date":"2022-02-02T11:31:34.000Z","last_commit_author":"rakesh","last_commit_hash":"10046af2437c1ed10825be0c204a88514ee13c1e"}
|
{"branch_name":"dev","last_commit_date":"2022-02-02T11:32:24.000Z","last_commit_author":"rakesh","last_commit_hash":"610a4dc1fa363ec52429a8105ed983e1c4256de2"}
|
|
@ -41,7 +41,7 @@ const resetAuthUser = function() {
|
||||||
const authHeader = function() {
|
const authHeader = function() {
|
||||||
const userAuth = getAuthUser();
|
const userAuth = getAuthUser();
|
||||||
if (userAuth) {
|
if (userAuth) {
|
||||||
return { 'Authorization': userAuth };
|
return { 'Authorization': 'Bearer ' + userAuth };
|
||||||
} else {
|
} else {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
17
yarn.lock
17
yarn.lock
|
@ -9067,11 +9067,6 @@ url-parse@^1.4.3:
|
||||||
querystringify "^2.1.1"
|
querystringify "^2.1.1"
|
||||||
requires-port "^1.0.0"
|
requires-port "^1.0.0"
|
||||||
|
|
||||||
url-search-params-polyfill@^8.1.0:
|
|
||||||
version "8.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/url-search-params-polyfill/-/url-search-params-polyfill-8.1.0.tgz#5c15b69687165bfd4f6c7d8a161d70d85385885b"
|
|
||||||
integrity sha512-MRG3vzXyG20BJ2fox50/9ZRoe+2h3RM7DIudVD2u/GY9MtayO1Dkrna76IUOak+uoUPVWbyR0pHCzxctP/eDYQ==
|
|
||||||
|
|
||||||
url-to-options@^1.0.1:
|
url-to-options@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9"
|
resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9"
|
||||||
|
@ -9242,18 +9237,6 @@ vue-eslint-parser@^5.0.0:
|
||||||
esquery "^1.0.1"
|
esquery "^1.0.1"
|
||||||
lodash "^4.17.11"
|
lodash "^4.17.11"
|
||||||
|
|
||||||
vue-gtag@^1.8.0:
|
|
||||||
version "1.8.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/vue-gtag/-/vue-gtag-1.8.0.tgz#0707e744bca6bc00681cbf555786b48cd9d46f97"
|
|
||||||
integrity sha512-oM3DojStj3oLSgmgUTgKlj1nuUBK5u7nSzjn5BltbozmA72CjkRkMyZ/OfyVZwkHUS97Rh2LYf6QfwXMQ46ZRw==
|
|
||||||
|
|
||||||
vue-gtm@3.0.0-vue2:
|
|
||||||
version "3.0.0-vue2"
|
|
||||||
resolved "https://registry.yarnpkg.com/vue-gtm/-/vue-gtm-3.0.0-vue2.tgz#cbda283eb4f4d0e22e06b8fc686ce0e1965d17d7"
|
|
||||||
integrity sha512-/KEcSnH6N0qgljmwCsefd2BzDciGMccQv3QFqpahRRlnzmfj3trtEGfTZppUVBlrqii666Yy1KnfI7IXdAa28w==
|
|
||||||
dependencies:
|
|
||||||
url-search-params-polyfill "^8.1.0"
|
|
||||||
|
|
||||||
vue-hot-reload-api@^2.3.0:
|
vue-hot-reload-api@^2.3.0:
|
||||||
version "2.3.4"
|
version "2.3.4"
|
||||||
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2"
|
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2"
|
||||||
|
|
Loading…
Reference in New Issue