From cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Oct 2021 11:35:43 +0200 Subject: Fix admin edition disabling feature --- scripts/benchmark.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/benchmark.ts b/scripts/benchmark.ts index 007e3c33b..788318313 100644 --- a/scripts/benchmark.ts +++ b/scripts/benchmark.ts @@ -135,7 +135,7 @@ async function run () { title: 'API - config', path: '/api/v1/config', expecter: (body, status) => { - return status === 200 && body.startsWith('{"allowEdits":') + return status === 200 && body.startsWith('{"client":') } } ] -- cgit v1.2.3