diff options
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts index 8a00f9835..c593fa302 100644 --- a/server/controllers/api/config.ts +++ b/server/controllers/api/config.ts | |||
@@ -357,7 +357,7 @@ function convertCustomConfigBody (body: CustomConfig) { | |||
357 | function keyConverter (k: string) { | 357 | function keyConverter (k: string) { |
358 | // Transcoding resolutions exception | 358 | // Transcoding resolutions exception |
359 | if (/^\d{3,4}p$/.exec(k)) return k | 359 | if (/^\d{3,4}p$/.exec(k)) return k |
360 | if (/^0p$/.exec(k)) return k | 360 | if (k === '0p') return k |
361 | 361 | ||
362 | return snakeCase(k) | 362 | return snakeCase(k) |
363 | } | 363 | } |