Migrate PermanentDeleteOutgoingByChannel to Sync (#10673)

Этот коммит содержится в:
tengis b
2019-04-23 21:40:41 +09:00
коммит произвёл Joram Wilander
родитель eaef1952b0
Коммит 0d1c69927f
5 изменённых файлов: 17 добавлений и 17 удалений

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

@@ -275,15 +275,15 @@ func (_m *WebhookStore) PermanentDeleteIncomingByUser(userId string) store.Store
}
// PermanentDeleteOutgoingByChannel provides a mock function with given fields: channelId
func (_m *WebhookStore) PermanentDeleteOutgoingByChannel(channelId string) store.StoreChannel {
func (_m *WebhookStore) PermanentDeleteOutgoingByChannel(channelId string) *model.AppError {
ret := _m.Called(channelId)
var r0 store.StoreChannel
if rf, ok := ret.Get(0).(func(string) store.StoreChannel); ok {
var r0 *model.AppError
if rf, ok := ret.Get(0).(func(string) *model.AppError); ok {
r0 = rf(channelId)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(store.StoreChannel)
r0 = ret.Get(0).(*model.AppError)
}
}