Fixing issue where super tenant table space is querried instead of relavent tenant when retrieving geo location data

revert-70aa11f8
Ace 6 years ago
parent cb0fb87b49
commit 1721824d53

@ -97,7 +97,8 @@ public class GeoLocationBasedServiceImpl implements GeoLocationBasedService {
// this is the user who initiates the request
String authorizedUser = MultitenantUtils.getTenantAwareUsername(
CarbonContext.getThreadLocalCarbonContext().getUsername());
CarbonContext.getThreadLocalCarbonContext().getUsername() + "@" +
CarbonContext.getThreadLocalCarbonContext().getTenantDomain());
try {
String tenantDomain = MultitenantUtils.getTenantDomain(authorizedUser);

Loading…
Cancel
Save