fix im server shared database config
This commit is contained in:
@@ -51,8 +51,6 @@ type adminInternalTenantDTO struct {
|
||||
Code string `json:"code"`
|
||||
Name string `json:"name"`
|
||||
TenantDesc *string `json:"tenant_desc,omitempty"`
|
||||
DBName string `json:"db_name"`
|
||||
DBDSN string `json:"db_dsn"`
|
||||
State types.TenantState `json:"state"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
CreatedBy int64 `json:"created_by"`
|
||||
@@ -422,8 +420,6 @@ func (t adminInternalTenantDTO) toStoreTenant() *types.Tenant {
|
||||
Code: strings.TrimSpace(t.Code),
|
||||
Name: t.Name,
|
||||
TenantDesc: t.TenantDesc,
|
||||
DBName: t.DBName,
|
||||
DBDSN: t.DBDSN,
|
||||
State: t.State,
|
||||
CreatedAt: t.CreatedAt,
|
||||
CreatedBy: t.CreatedBy,
|
||||
|
||||
Reference in New Issue
Block a user