mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-13 13:48:59 +02:00
chore: more revert
This commit is contained in:
parent
56e728a008
commit
2a6ad10acc
@ -125,8 +125,7 @@ export default class PlaygroundController extends Controller {
|
|||||||
? Number.parseInt(payload?.value)
|
? Number.parseInt(payload?.value)
|
||||||
: 15000;
|
: 15000;
|
||||||
|
|
||||||
const { result, invalidContextProperties } =
|
const result = await this.playgroundService.evaluateAdvancedQuery(
|
||||||
await this.playgroundService.evaluateAdvancedQuery(
|
|
||||||
req.body.projects || '*',
|
req.body.projects || '*',
|
||||||
req.body.environments,
|
req.body.environments,
|
||||||
req.body.context,
|
req.body.context,
|
||||||
@ -135,11 +134,7 @@ export default class PlaygroundController extends Controller {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const response: AdvancedPlaygroundResponseSchema =
|
const response: AdvancedPlaygroundResponseSchema =
|
||||||
advancedPlaygroundViewModel(
|
advancedPlaygroundViewModel(req.body, result);
|
||||||
req.body,
|
|
||||||
result,
|
|
||||||
invalidContextProperties,
|
|
||||||
);
|
|
||||||
|
|
||||||
res.json(response);
|
res.json(response);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user