mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-19 17:52:45 +02:00
Add missing query.
This commit is contained in:
parent
6569d72d79
commit
05ef4a05b4
@ -357,13 +357,11 @@ export default class FeatureController extends Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async calculateMeta(query: IFeatureToggleQuery): Promise<IMeta> {
|
async calculateMeta(query: IFeatureToggleQuery): Promise<IMeta> {
|
||||||
// TODO: We will need to standardize this to be able to implement this a cross languages (Edge in Rust?).
|
|
||||||
const revisionId =
|
const revisionId =
|
||||||
await this.configurationRevisionService.getMaxRevisionId(
|
await this.configurationRevisionService.getMaxRevisionId(
|
||||||
environment,
|
query.environment,
|
||||||
);
|
);
|
||||||
|
|
||||||
// TODO: We will need to standardize this to be able to implement this a cross languages (Edge in Rust?).
|
|
||||||
const queryHash = hashSum(query);
|
const queryHash = hashSum(query);
|
||||||
const etagVariant = this.flagResolver.getVariant('etagVariant');
|
const etagVariant = this.flagResolver.getVariant('etagVariant');
|
||||||
if (etagVariant.feature_enabled && etagVariant.enabled) {
|
if (etagVariant.feature_enabled && etagVariant.enabled) {
|
||||||
|
Loading…
Reference in New Issue
Block a user