From 6ef47af4e979f7033133c40f3eff281a7ae85114 Mon Sep 17 00:00:00 2001 From: Ewe Zi Yi <36802364+deadlycoconuts@users.noreply.github.com> Date: Mon, 5 Aug 2024 10:35:45 +0800 Subject: [PATCH] Update broken schema (#81) --- plugins/turing/manager/experiment_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/turing/manager/experiment_manager.go b/plugins/turing/manager/experiment_manager.go index 74a1219..b10ad2b 100644 --- a/plugins/turing/manager/experiment_manager.go +++ b/plugins/turing/manager/experiment_manager.go @@ -43,7 +43,7 @@ const xpExperimentConfigSchema = `[ "variables": [["yup.array"], ["yup.of", [["yup.object"], ["yup.shape", { "name": [["yup.string"], ["yup.required"]], - "field": ["yup.string"], + "field": [["yup.string"]], "field_source": [["yup.string"], ["yup.required"], ["yup.oneOf", ["none", "header", "payload"], "One of the supported field sources should be selected"]]