Migration of ChannelStore.GetMoreChannels to return plain error (#14811)

Automatic Merge
Этот коммит содержится в:
Rodrigo Villablanca
2020-06-19 14:26:35 -04:00
коммит произвёл GitHub
родитель 4a974eabea
Коммит d391fd6231
8 изменённых файлов: 20 добавлений и 18 удалений

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

@@ -151,7 +151,7 @@ type ChannelStore interface {
GetChannels(teamId string, userId string, includeDeleted bool) (*model.ChannelList, error)
GetAllChannels(page, perPage int, opts ChannelSearchOpts) (*model.ChannelListWithTeamData, error)
GetAllChannelsCount(opts ChannelSearchOpts) (int64, error)
GetMoreChannels(teamId string, userId string, offset int, limit int) (*model.ChannelList, *model.AppError)
GetMoreChannels(teamId string, userId string, offset int, limit int) (*model.ChannelList, error)
GetPublicChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, *model.AppError)
GetPublicChannelsByIdsForTeam(teamId string, channelIds []string) (*model.ChannelList, *model.AppError)
GetChannelCounts(teamId string, userId string) (*model.ChannelCounts, *model.AppError)