diff options
Diffstat (limited to 'server/controllers/api/config.ts')
-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 47b91cd94..7ef0c19e3 100644 --- a/server/controllers/api/config.ts +++ b/server/controllers/api/config.ts | |||
@@ -116,7 +116,7 @@ async function updateCustomConfig (req: express.Request, res: express.Response, | |||
116 | toUpdateJSON.user['video_quota'] = toUpdate.user.videoQuota | 116 | toUpdateJSON.user['video_quota'] = toUpdate.user.videoQuota |
117 | delete toUpdate.user.videoQuota | 117 | delete toUpdate.user.videoQuota |
118 | 118 | ||
119 | await writeFilePromise(CONFIG.CUSTOM_FILE, JSON.stringify(toUpdateJSON)) | 119 | await writeFilePromise(CONFIG.CUSTOM_FILE, JSON.stringify(toUpdateJSON, undefined, 2)) |
120 | 120 | ||
121 | reloadConfig() | 121 | reloadConfig() |
122 | 122 | ||