diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-12 14:25:30 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-12 14:25:30 +0200 |
commit | 80dea8f4d6293f8da72483ddb295e92d0b53b42f (patch) | |
tree | de57b5e72110be074e36ed07fd2262656b68b126 /server | |
parent | 7399a79f73cc2015e64fad49361439a322ee1d3b (diff) | |
download | PeerTube-80dea8f4d6293f8da72483ddb295e92d0b53b42f.tar.gz PeerTube-80dea8f4d6293f8da72483ddb295e92d0b53b42f.tar.zst PeerTube-80dea8f4d6293f8da72483ddb295e92d0b53b42f.zip |
Rename config key
Diffstat (limited to 'server')
-rw-r--r-- | server/initializers/config.ts | 2 | ||||
-rw-r--r-- | server/lib/server-config-manager.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index 5ee08cf12..a37aae551 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -62,7 +62,7 @@ const CONFIG = { | |||
62 | CLIENT: { | 62 | CLIENT: { |
63 | VIDEOS: { | 63 | VIDEOS: { |
64 | MINIATURE: { | 64 | MINIATURE: { |
65 | get SHOW_AUTHOR_DISPLAY_NAME () { return config.get<boolean>('client.videos.miniature.show_author_display_name') } | 65 | get PREFER_AUTHOR_DISPLAY_NAME () { return config.get<boolean>('client.videos.miniature.prefer_author_display_name') } |
66 | } | 66 | } |
67 | } | 67 | } |
68 | }, | 68 | }, |
diff --git a/server/lib/server-config-manager.ts b/server/lib/server-config-manager.ts index 72fcf54cd..58a37b56c 100644 --- a/server/lib/server-config-manager.ts +++ b/server/lib/server-config-manager.ts | |||
@@ -46,7 +46,7 @@ class ServerConfigManager { | |||
46 | client: { | 46 | client: { |
47 | videos: { | 47 | videos: { |
48 | miniature: { | 48 | miniature: { |
49 | showAuthorDisplayName: CONFIG.CLIENT.VIDEOS.MINIATURE.SHOW_AUTHOR_DISPLAY_NAME | 49 | preferAuthorDisplayName: CONFIG.CLIENT.VIDEOS.MINIATURE.PREFER_AUTHOR_DISPLAY_NAME |
50 | } | 50 | } |
51 | } | 51 | } |
52 | }, | 52 | }, |