diff options
-rw-r--r-- | shared/models/plugins/register-client-form-field.model.ts | 2 | ||||
-rw-r--r-- | support/doc/plugins/guide.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shared/models/plugins/register-client-form-field.model.ts b/shared/models/plugins/register-client-form-field.model.ts index cdcdaa181..db61dbc88 100644 --- a/shared/models/plugins/register-client-form-field.model.ts +++ b/shared/models/plugins/register-client-form-field.model.ts | |||
@@ -16,5 +16,5 @@ export type RegisterClientFormFieldOptions = { | |||
16 | } | 16 | } |
17 | 17 | ||
18 | export interface RegisterClientVideoFieldOptions { | 18 | export interface RegisterClientVideoFieldOptions { |
19 | type: 'import-url' | 'import-torrent' | 'update' | 'upload' | 19 | type: 'update' | 'upload' | 'import-url' | 'import-torrent' | 'go-live' |
20 | } | 20 | } |
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md index a90f8e72b..ca951c781 100644 --- a/support/doc/plugins/guide.md +++ b/support/doc/plugins/guide.md | |||
@@ -626,7 +626,7 @@ async function register ({ registerVideoField, peertubeHelpers }) { | |||
626 | default: '' | 626 | default: '' |
627 | } | 627 | } |
628 | 628 | ||
629 | for (const type of [ 'upload', 'import-url', 'import-torrent', 'update' ]) { | 629 | for (const type of [ 'upload', 'import-url', 'import-torrent', 'update', 'go-live' ]) { |
630 | registerVideoField(commonOptions, { type }) | 630 | registerVideoField(commonOptions, { type }) |
631 | } | 631 | } |
632 | } | 632 | } |