From eb4477f3d6831ea4dc9247744216931c0ba72b04 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 17 Apr 2024 13:58:18 +0800 Subject: [PATCH] fix msp tenant missing related workspace --- internal/apps/msp/tenant/db/tenant.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/apps/msp/tenant/db/tenant.go b/internal/apps/msp/tenant/db/tenant.go index c7dcc031b3e..76be022316f 100644 --- a/internal/apps/msp/tenant/db/tenant.go +++ b/internal/apps/msp/tenant/db/tenant.go @@ -82,6 +82,7 @@ func (db *MSPTenantDB) QueryTenantHaveTMC(projectID string) ([]*MSPTenant, error err := db.Raw(`select msp.id as id, msp.type as type, msp.related_project_id as related_project_id, + msp.related_workspace as related_workspace, msp.created_at as created_at, msp.updated_at as updated_at, msp.is_deleted as is_deleted