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 удалений

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

@@ -1128,7 +1128,7 @@ func (s *TimerLayerChannelStore) GetMembersForUserWithPagination(teamId string,
return resultVar0, resultVar1
}
func (s *TimerLayerChannelStore) GetMoreChannels(teamId string, userId string, offset int, limit int) (*model.ChannelList, *model.AppError) {
func (s *TimerLayerChannelStore) GetMoreChannels(teamId string, userId string, offset int, limit int) (*model.ChannelList, error) {
start := timemodule.Now()
resultVar0, resultVar1 := s.ChannelStore.GetMoreChannels(teamId, userId, offset, limit)