[MM-15120] Migrate PermanentDeleteIncomingByChannel to Sync (#10677)
* Migrate PermanentDeleteIncomingByChannel to Sync * fix err
Этот коммит содержится в:
коммит произвёл
Jesús Espino
родитель
928ecba2d4
Коммит
cf5f5be0d8
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user