diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-14 11:35:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-14 11:35:43 +0200 |
commit | cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5 (patch) | |
tree | 1692868027592d2a300988643fdd96e5fdfe2091 /scripts | |
parent | e1a570abff3ebf375433e58e7362d56bd32d4cd8 (diff) | |
download | PeerTube-cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5.tar.gz PeerTube-cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5.tar.zst PeerTube-cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5.zip |
Fix admin edition disabling feature
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/benchmark.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { | |||
135 | title: 'API - config', | 135 | title: 'API - config', |
136 | path: '/api/v1/config', | 136 | path: '/api/v1/config', |
137 | expecter: (body, status) => { | 137 | expecter: (body, status) => { |
138 | return status === 200 && body.startsWith('{"allowEdits":') | 138 | return status === 200 && body.startsWith('{"client":') |
139 | } | 139 | } |
140 | } | 140 | } |
141 | ] | 141 | ] |