|
@@ -1,6 +1,7 @@
|
1
|
1
|
// @flow
|
2
|
2
|
|
3
|
3
|
import { openDialog } from '../base/dialog';
|
|
4
|
+import { VPAAS_TENANT_PREFIX } from '../billing-counter/constants';
|
4
|
5
|
import { getVpaasTenant } from '../billing-counter/functions';
|
5
|
6
|
|
6
|
7
|
import { SET_DETAILS } from './actionTypes';
|
|
@@ -31,7 +32,7 @@ export function getCustomerDetails() {
|
31
|
32
|
const state = getState();
|
32
|
33
|
const baseUrl = state['features/base/config'].jaasActuatorUrl;
|
33
|
34
|
const jwt = state['features/base/jwt'].jwt;
|
34
|
|
- const appId = getVpaasTenant(state);
|
|
35
|
+ const appId = getVpaasTenant(state).replace(VPAAS_TENANT_PREFIX, '');
|
35
|
36
|
|
36
|
37
|
const shouldSendRequest = Boolean(baseUrl && jwt && appId);
|
37
|
38
|
|