diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/plugins/client/register-client-form-field.model.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/models/plugins/client/register-client-form-field.model.ts b/shared/models/plugins/client/register-client-form-field.model.ts index 30fd63266..153c4a6ea 100644 --- a/shared/models/plugins/client/register-client-form-field.model.ts +++ b/shared/models/plugins/client/register-client-form-field.model.ts | |||
@@ -19,7 +19,7 @@ export type RegisterClientFormFieldOptions = { | |||
19 | 19 | ||
20 | // Return undefined | null if there is no error or return a string with the detailed error | 20 | // Return undefined | null if there is no error or return a string with the detailed error |
21 | // Not supported by plugin setting registration | 21 | // Not supported by plugin setting registration |
22 | error?: (options: any) => { error: boolean, text?: string } | 22 | error?: (options: any) => Promise<{ error: boolean, text?: string }> |
23 | } | 23 | } |
24 | 24 | ||
25 | export interface RegisterClientVideoFieldOptions { | 25 | export interface RegisterClientVideoFieldOptions { |