1
0
forked from baron/baron-sso

테넌트 조회 API 연동

This commit is contained in:
2026-03-19 13:04:59 +09:00
parent 2ebe2c5613
commit 77c6610e70
2 changed files with 13 additions and 0 deletions

View File

@@ -266,3 +266,14 @@ export async function fetchDevAuditLogs(
);
return data;
}
export type TenantSummary = {
id: string;
name: string;
slug: string;
};
export async function fetchMyTenants() {
const { data } = await apiClient.get<TenantSummary[]>("/dev/my-tenants");
return data;
}