Migrate PermanentDeleteByTeam method from ChannelStore to return erro… (#14707)

Automatic Merge
Этот коммит содержится в:
Rodrigo Villablanca
2020-06-11 11:26:35 -04:00
коммит произвёл GitHub
родитель 77b468e456
Коммит 172eb1853f
7 изменённых файлов: 16 добавлений и 34 удалений

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

@@ -1425,7 +1425,7 @@ func (s *TimerLayerChannelStore) PermanentDelete(channelId string) error {
return resultVar0
}
func (s *TimerLayerChannelStore) PermanentDeleteByTeam(teamId string) *model.AppError {
func (s *TimerLayerChannelStore) PermanentDeleteByTeam(teamId string) error {
start := timemodule.Now()
resultVar0 := s.ChannelStore.PermanentDeleteByTeam(teamId)