Migrate PermanentDelete method from ChannelStore to return error inte… (#14706)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
88e8f56f03
Коммит
6f28f3526d
@@ -194,7 +194,7 @@ func (c *SearchChannelStore) PermanentDeleteMembersByChannel(channelId string) *
|
||||
return err
|
||||
}
|
||||
|
||||
func (c *SearchChannelStore) PermanentDelete(channelId string) *model.AppError {
|
||||
func (c *SearchChannelStore) PermanentDelete(channelId string) error {
|
||||
channel, channelErr := c.ChannelStore.Get(channelId, true)
|
||||
if channelErr != nil {
|
||||
mlog.Error("Encountered error deleting channel", mlog.String("channel_id", channelId), mlog.Err(channelErr))
|
||||
|
||||
Ссылка в новой задаче
Block a user