1
0
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:
Gastón Fournier 2025-08-19 15:52:27 +02:00
parent 6569d72d79
commit 05ef4a05b4
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -357,13 +357,11 @@ export default class FeatureController extends Controller {
}
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 =
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 etagVariant = this.flagResolver.getVariant('etagVariant');
if (etagVariant.feature_enabled && etagVariant.enabled) {