Migrate PermanentDelete method from ChannelStore to return error inte… (#14706)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
88e8f56f03
Коммит
6f28f3526d
@@ -317,9 +317,9 @@ func (th *SearchTestHelper) deleteChannel(channel *model.Channel) error {
|
||||
return errors.New(appError.Error())
|
||||
}
|
||||
|
||||
appError = th.Store.Channel().PermanentDelete(channel.Id)
|
||||
if appError != nil {
|
||||
return errors.New(appError.Error())
|
||||
err := th.Store.Channel().PermanentDelete(channel.Id)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Ссылка в новой задаче
Block a user