[MM-15120] Migrate PermanentDeleteIncomingByChannel to Sync (#10677)

* Migrate PermanentDeleteIncomingByChannel to Sync

* fix err
Этот коммит содержится в:
tengis b
2019-04-25 15:15:32 +09:00
коммит произвёл Jesús Espino
родитель 928ecba2d4
Коммит cf5f5be0d8
5 изменённых файлов: 17 добавлений и 17 удалений

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

@@ -252,15 +252,15 @@ func (_m *WebhookStore) InvalidateWebhookCache(webhook string) {
}
// PermanentDeleteIncomingByChannel provides a mock function with given fields: channelId
func (_m *WebhookStore) PermanentDeleteIncomingByChannel(channelId string) store.StoreChannel {
func (_m *WebhookStore) PermanentDeleteIncomingByChannel(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)
}
}