diff --git a/web/service/base.ts b/web/service/base.ts index 7e35b3d7896..de2d39aea0a 100644 --- a/web/service/base.ts +++ b/web/service/base.ts @@ -787,7 +787,7 @@ export const request = async(url: string, options = {}, otherOptions?: IOther isPublicAPI = false, silent, } = otherOptionsForBaseFetch - if (isPublicAPI && code === 'unauthorized') { + if (isPublicAPI && code === 'unauthorized' && IS_CE_EDITION) { requiredWebSSOLogin() return Promise.reject(err) }