aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-09-03 09:49:04 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-09-05 10:17:02 +0200
commit8ae03c37181822617418d1fc372982b245ac0a9a (patch)
treee98e4a57ca85f2fd982aa8054476c9983cbb2398 /server/controllers/api
parent589d9f55f6f3f0d069d4bbb207d3d20769cc4ded (diff)
downloadPeerTube-8ae03c37181822617418d1fc372982b245ac0a9a.tar.gz
PeerTube-8ae03c37181822617418d1fc372982b245ac0a9a.tar.zst
PeerTube-8ae03c37181822617418d1fc372982b245ac0a9a.zip
Add creation reason
Diffstat (limited to 'server/controllers/api')
-rw-r--r--server/controllers/api/config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts
index b5244756d..909907ad6 100644
--- a/server/controllers/api/config.ts
+++ b/server/controllers/api/config.ts
@@ -161,6 +161,7 @@ function getAbout (req: express.Request, res: express.Response) {
161 terms: CONFIG.INSTANCE.TERMS, 161 terms: CONFIG.INSTANCE.TERMS,
162 codeOfConduct: CONFIG.INSTANCE.CODE_OF_CONDUCT, 162 codeOfConduct: CONFIG.INSTANCE.CODE_OF_CONDUCT,
163 163
164 creationReason: CONFIG.INSTANCE.CREATION_REASON,
164 moderationInformation: CONFIG.INSTANCE.MODERATION_INFORMATION, 165 moderationInformation: CONFIG.INSTANCE.MODERATION_INFORMATION,
165 administrator: CONFIG.INSTANCE.ADMINISTRATOR, 166 administrator: CONFIG.INSTANCE.ADMINISTRATOR,
166 maintenanceLifetime: CONFIG.INSTANCE.MAINTENANCE_LIFETIME, 167 maintenanceLifetime: CONFIG.INSTANCE.MAINTENANCE_LIFETIME,
@@ -232,6 +233,7 @@ function customConfig (): CustomConfig {
232 terms: CONFIG.INSTANCE.TERMS, 233 terms: CONFIG.INSTANCE.TERMS,
233 codeOfConduct: CONFIG.INSTANCE.CODE_OF_CONDUCT, 234 codeOfConduct: CONFIG.INSTANCE.CODE_OF_CONDUCT,
234 235
236 creationReason: CONFIG.INSTANCE.CREATION_REASON,
235 moderationInformation: CONFIG.INSTANCE.MODERATION_INFORMATION, 237 moderationInformation: CONFIG.INSTANCE.MODERATION_INFORMATION,
236 administrator: CONFIG.INSTANCE.ADMINISTRATOR, 238 administrator: CONFIG.INSTANCE.ADMINISTRATOR,
237 maintenanceLifetime: CONFIG.INSTANCE.MAINTENANCE_LIFETIME, 239 maintenanceLifetime: CONFIG.INSTANCE.MAINTENANCE_LIFETIME,