diff --git a/auto_sync_commit_metadata.json b/auto_sync_commit_metadata.json index 7e82c5347..0d7f8d96d 100644 --- a/auto_sync_commit_metadata.json +++ b/auto_sync_commit_metadata.json @@ -1,4 +1,4 @@ { - "last_github_commit": "0e6dd629b3cefcbe185530a6cc47f58e7c28757e", - "last_gitfarm_commit": "7f0f7bab2f10356dc93823855ddc9c4ba454410c" + "last_github_commit": "ce4d69fc9a6973ac3232b8b58462d8b7feb1dd94", + "last_gitfarm_commit": "c058e85f97afe6d19869bc73c65a7a3ac202a2a5" } \ No newline at end of file diff --git a/public/framework/catalog_cache/cache_intercept.ts b/public/framework/catalog_cache/cache_intercept.ts index a44256aed..3f50bf00b 100644 --- a/public/framework/catalog_cache/cache_intercept.ts +++ b/public/framework/catalog_cache/cache_intercept.ts @@ -7,15 +7,11 @@ import { HttpInterceptorResponseError, IHttpInterceptController, } from '../../../../../src/core/public'; -import { SECURITY_PLUGIN_ACCOUNT_API } from '../../../common/constants/shared'; import { CatalogCacheManager } from './cache_manager'; export function catalogCacheInterceptError(): any { return (httpErrorResponse: HttpInterceptorResponseError, _: IHttpInterceptController) => { - if ( - httpErrorResponse.response?.status === 401 && - httpErrorResponse.fetchOptions.path === SECURITY_PLUGIN_ACCOUNT_API - ) { + if (httpErrorResponse.response?.status === 401) { // Clears all user catalog cache details CatalogCacheManager.clearDataSourceCache(); CatalogCacheManager.clearAccelerationsCache();