Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit b711f0a

Browse files
committed
Check Invite Issue
1 parent 08d0fef commit b711f0a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

service/src/services/invite/invite.class.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class Service {
9696
}
9797
/* eslint-disable no-undef */
9898
/* eslint-disable */
99+
console.log('authorization apiHeaders>>>> ', apiHeaders)
99100
axios.put(baseUrl+'/user/updateuserdetails/' + userId, { package: previous_packages }, { headers: { 'Authorization': apiHeaders.authorization } })
100101
.then(async ((result) => {
101102
if (result.data.code == 201) {
@@ -104,6 +105,7 @@ class Service {
104105
}
105106
resolve(result.data);
106107
})).catch((err) => {
108+
console.log('authorization ERROR >>>> ', err)
107109
let errorObj = {};
108110
if(apiHeaders.authorization == undefined) {
109111
errorObj.statusText = 'missing Authorization header';

0 commit comments

Comments
 (0)