[MM-16490] Migrate UpdateTokenDisable to Sync by default (#11333)
* [MM-16490] Migrate UpdateTokenDisable to Sync by default * fix: missed conversion of app/session.go
Этот коммит содержится в:
коммит произвёл
Saturnino Abril
родитель
2d00aed038
Коммит
e3c8c1251f
@@ -187,15 +187,15 @@ func (_m *UserAccessTokenStore) Search(term string) store.StoreChannel {
|
||||
}
|
||||
|
||||
// UpdateTokenDisable provides a mock function with given fields: tokenId
|
||||
func (_m *UserAccessTokenStore) UpdateTokenDisable(tokenId string) store.StoreChannel {
|
||||
func (_m *UserAccessTokenStore) UpdateTokenDisable(tokenId string) *model.AppError {
|
||||
ret := _m.Called(tokenId)
|
||||
|
||||
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(tokenId)
|
||||
} else {
|
||||
if ret.Get(0) != nil {
|
||||
r0 = ret.Get(0).(store.StoreChannel)
|
||||
r0 = ret.Get(0).(*model.AppError)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user