mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
parent
c4412d8276
commit
3c22a302c7
@ -317,7 +317,6 @@ export default class ClientApplicationsStore
|
||||
if (!rows.length) {
|
||||
throw new NotFoundError(`Could not find appName=${appName}`);
|
||||
}
|
||||
|
||||
const existingStrategies: string[] = await this.db
|
||||
.select('name')
|
||||
.from('strategies')
|
||||
|
@ -191,8 +191,8 @@ export default class FrontendAPIController extends Controller {
|
||||
if (this.config.flagResolver.isEnabled('globalFrontendApiCache')) {
|
||||
const context = FrontendAPIController.createContext(req);
|
||||
[toggles, newToggles] = await Promise.all([
|
||||
this.getTimedFrontendApiFeatures(req.user, context),
|
||||
this.getTimedNewFrontendApiFeatures(req.user, context),
|
||||
this.getTimedFrontendApiFeatures(req, context),
|
||||
this.getTimedNewFrontendApiFeatures(req, context),
|
||||
]);
|
||||
const sortedToggles = toggles.sort((a, b) =>
|
||||
a.name.localeCompare(b.name),
|
||||
|
Loading…
Reference in New Issue
Block a user