MM-31710 Server/API: change total_unread_replies to total_unread_threads (#16663)

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Eli Yukelzon
2021-01-19 13:33:57 +02:00
коммит произвёл GitHub
родитель 90952a1bd5
Коммит 911d1f070e
3 изменённых файлов: 103 добавлений и 54 удалений

Просмотреть файл

@@ -28,7 +28,7 @@ type ThreadResponse struct {
type Threads struct {
Total int64 `json:"total"`
TotalUnreadReplies int64 `json:"total_unread_replies"`
TotalUnreadThreads int64 `json:"total_unread_threads"`
TotalUnreadMentions int64 `json:"total_unread_mentions"`
Threads []*ThreadResponse `json:"threads"`
}