테넌트 조회 Mock API 추가

This commit is contained in:
kyy committed 2026-03-19 17:28:32 +09:00
1 parent 0f82932b35
commit 2ebe2c5613
1 file changed
+6
@@ -176,6 +176,12 @@ export async function installDevApiMock(page: Page, state: DevApiMockState) {
const { pathname, searchParams } = url;
const method = request.method();
if (pathname === "/api/v1/dev/my-tenants" && method === "GET") {
return json(route, [
{ id: "tenant-a", name: "Tenant A", slug: "tenant-a" },
]);
}
if (pathname === "/api/v1/dev/stats" && method === "GET") {
const total = state.clients.length;
return json(route, {