MM-15188: Migrate the "WebHook.PermanentDeleteOutgoingByUser" to Sync by default (#10709)

Этот коммит содержится в:
Puneeth Reddy
2019-04-26 22:45:02 -07:00
коммит произвёл Hanzei
родитель 7e590c7efe
Коммит 214e9d2ae0
5 изменённых файлов: 16 добавлений и 16 удалений

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

@@ -334,15 +334,15 @@ func (_m *WebhookStore) PermanentDeleteOutgoingByChannel(channelId string) *mode
}
// PermanentDeleteOutgoingByUser provides a mock function with given fields: userId
func (_m *WebhookStore) PermanentDeleteOutgoingByUser(userId string) store.StoreChannel {
func (_m *WebhookStore) PermanentDeleteOutgoingByUser(userId string) *model.AppError {
ret := _m.Called(userId)
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(userId)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(store.StoreChannel)
r0 = ret.Get(0).(*model.AppError)
}
}