File tree 2 files changed +1
-7
lines changed
core/src/lib/utils/feature-flags
datamanager/src/utils/api-proxy
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,3 @@ export const FF_ADJUSTABLE_SPANS = "fflag_feat_front_leap_1973_adjustable_spans_
87
87
* Enables the theme toggle in the UI
88
88
*/
89
89
export const FF_THEME_TOGGLE = "fflag_feat_front_optic_1217_theme_toggle_short" ;
90
-
91
- /**
92
- * Cache members manager APIs
93
- */
94
- export const FF_MEMBERS_MANAGER_API_CACHE = "fflag_fix_front_optic_1418_cache_members_manager_apis_short" ;
Original file line number Diff line number Diff line change 12
12
import { formDataToJPO , parseJson } from "../helpers" ;
13
13
import statusCodes from "./status-codes.json" ;
14
14
import { queryClient , shouldBypassCache } from "@humansignal/core/lib/utils/query-client" ;
15
- import { FF_MEMBERS_MANAGER_API_CACHE , isFF } from "@humansignal/core/lib/utils/feature-flags" ;
16
15
17
16
/**
18
17
* @typedef {Dict<string, EndpointConfig> } Endpoints
@@ -291,7 +290,7 @@ export class APIProxy {
291
290
} ;
292
291
293
292
// Use TanStack Query cache for GET requests only if queryCacheParams is present
294
- if ( isFF ( FF_MEMBERS_MANAGER_API_CACHE ) && requestMethod === "GET" && queryCacheParams ) {
293
+ if ( requestMethod === "GET" && queryCacheParams ) {
295
294
const cacheKey = [ queryCacheParams . keyPrefix , paramsForRequest ] ;
296
295
return queryClient . fetchQuery ( {
297
296
queryKey : cacheKey ,
You can’t perform that action at this time.
0 commit comments