fix(api): harden response contracts
This commit is contained in:
@@ -81,8 +81,8 @@ type WorkspaceChannelDTO struct {
|
||||
Type string `json:"type"`
|
||||
Title string `json:"title"`
|
||||
Icon string `json:"icon"`
|
||||
Count *int64 `json:"count,omitempty"`
|
||||
URL string `json:"url,omitempty"`
|
||||
Count int64 `json:"count"`
|
||||
URL string `json:"url"`
|
||||
SortOrder int `json:"sortOrder"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user