diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-22 14:35:04 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-22 16:25:14 +0100 |
commit | 1808a1f8e4b7b102823492a2007a46929aebf189 (patch) | |
tree | a345140ec9a7a20c222ace3cda18ac999277c8c3 /shared/server-commands | |
parent | 348c2ce3ff3fe2f25a31f08bfb36c88723a0ce46 (diff) | |
download | PeerTube-1808a1f8e4b7b102823492a2007a46929aebf189.tar.gz PeerTube-1808a1f8e4b7b102823492a2007a46929aebf189.tar.zst PeerTube-1808a1f8e4b7b102823492a2007a46929aebf189.zip |
Add video edition finished notification
Diffstat (limited to 'shared/server-commands')
-rw-r--r-- | shared/server-commands/server/config-command.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shared/server-commands/server/config-command.ts b/shared/server-commands/server/config-command.ts index 1dd6e1ea4..35a1eec7c 100644 --- a/shared/server-commands/server/config-command.ts +++ b/shared/server-commands/server/config-command.ts | |||
@@ -111,6 +111,16 @@ export class ConfigCommand extends AbstractCommand { | |||
111 | }) | 111 | }) |
112 | } | 112 | } |
113 | 113 | ||
114 | enableEditor () { | ||
115 | return this.updateExistingSubConfig({ | ||
116 | newConfig: { | ||
117 | videoEditor: { | ||
118 | enabled: true | ||
119 | } | ||
120 | } | ||
121 | }) | ||
122 | } | ||
123 | |||
114 | getConfig (options: OverrideCommandOptions = {}) { | 124 | getConfig (options: OverrideCommandOptions = {}) { |
115 | const path = '/api/v1/config' | 125 | const path = '/api/v1/config' |
116 | 126 | ||