diff --git a/src/pages/tenant/tools/tenantlookup/index.js b/src/pages/tenant/tools/tenantlookup/index.js
index 5c212c3d0751..ff8d73863b50 100644
--- a/src/pages/tenant/tools/tenantlookup/index.js
+++ b/src/pages/tenant/tools/tenantlookup/index.js
@@ -18,7 +18,7 @@ import { ApiGetCall } from "../../../../api/ApiCall";
const Page = () => {
const formControl = useForm({ mode: "onBlur" });
const domain = useWatch({ control: formControl.control, name: "domain" });
- const getGeoIP = ApiGetCall({
+ const getTenant = ApiGetCall({
url: "/api/ListExternalTenantInfo",
data: { tenant: domain },
queryKey: `tenant-${domain}`,
@@ -52,7 +52,7 @@ const Page = () => {
{/* Results Card */}
- {getGeoIP.isFetching ? (
+ {getTenant.isFetching ? (
@@ -74,25 +74,25 @@ const Page = () => {
- ) : getGeoIP.data ? (
+ ) : getTenant.data ? (
-
+
Tenant Name: {domain}
- Tenant Id: {getGeoIP.data?.GraphRequest?.tenantId}
+ Tenant Id: {getTenant.data?.GraphRequest?.tenantId}
Default Domain Name:{" "}
- {getGeoIP.data?.GraphRequest?.defaultDomainName}
+ {getTenant.data?.GraphRequest?.defaultDomainName}
Tenant Brand Name :{" "}
- {getGeoIP.data?.GraphRequest?.federationBrandName
- ? getGeoIP.data?.GraphRequest?.federationBrandName
+ {getTenant.data?.GraphRequest?.federationBrandName
+ ? getTenant.data?.GraphRequest?.federationBrandName
: "N/A"}
@@ -101,7 +101,7 @@ const Page = () => {
domains:
- {getGeoIP.data?.Domains?.map((domain) => (
+ {getTenant.data?.Domains?.map((domain) => (
{domain}