TP-24975 | Added Log (#13)
* TP-24975 | Bug Fixes * TP-24975: bug fix for add members in the team * TP-24975 | Added Log Co-authored-by: k.kamalakannan <k.kamalakannan@navi.com>
This commit is contained in:
committed by
GitHub Enterprise
parent
bf750fb13f
commit
90e73120ab
@@ -10,6 +10,11 @@ export class ApiService {
|
||||
if (!ApiService.instance) {
|
||||
ApiService.instance = new ApiService();
|
||||
const userData = localStorage.getItem('user-data');
|
||||
console.log({ userData });
|
||||
console.log(
|
||||
'JSON.parse(userData)?.emailId',
|
||||
JSON.parse(userData ?? '')?.emailId,
|
||||
);
|
||||
ApiService.instance.service.interceptors.request.use((req: any) => {
|
||||
req.headers['X-Session-Token'] =
|
||||
localStorage.getItem('react-token') || '';
|
||||
|
||||
Reference in New Issue
Block a user