Skip to content

Commit 4b0f2d4

Browse files
chengjoeylyingbug
authored andcommitted
chore(client): remove redeclared UserInfo in client package
Signed-off-by: joeyczheng <joeyczheng@tencent.com>
1 parent 4a39081 commit 4b0f2d4

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

client/organization.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -126,19 +126,6 @@ type JoinRequestResponse struct {
126126
ReviewedAt *time.Time `json:"reviewed_at,omitempty"`
127127
}
128128

129-
// UserInfo represents user information for API responses
130-
type UserInfo struct {
131-
ID string `json:"id"`
132-
Username string `json:"username"`
133-
Email string `json:"email"`
134-
Avatar string `json:"avatar"`
135-
TenantID uint64 `json:"tenant_id"`
136-
IsActive bool `json:"is_active"`
137-
CanAccessAllTenants bool `json:"can_access_all_tenants"`
138-
CreatedAt time.Time `json:"created_at"`
139-
UpdatedAt time.Time `json:"updated_at"`
140-
}
141-
142129
// SharedKnowledgeBaseInfo represents a shared knowledge base
143130
type SharedKnowledgeBaseInfo struct {
144131
ShareID string `json:"share_id"`

0 commit comments

Comments
 (0)