MM 15119 : migrates the "WebHook.PermanentDeleteIncomingByUser" to Sync by default. (#10705)
* cherry commit for PermanentDeleteIncomingByUser and generate store mocks * go fmt the code
Этот коммит содержится в:
коммит произвёл
Miguel de la Cruz
родитель
3989b90a91
Коммит
2f237d68b7
@@ -293,15 +293,15 @@ func (_m *WebhookStore) PermanentDeleteIncomingByChannel(channelId string) *mode
|
||||
}
|
||||
|
||||
// PermanentDeleteIncomingByUser provides a mock function with given fields: userId
|
||||
func (_m *WebhookStore) PermanentDeleteIncomingByUser(userId string) store.StoreChannel {
|
||||
func (_m *WebhookStore) PermanentDeleteIncomingByUser(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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user