diff options
author | John Livingston <git@john-livingston.fr> | 2022-01-11 00:10:37 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-01-12 15:26:13 +0100 |
commit | dd200d34773905300c871e3a779556755df293d9 (patch) | |
tree | f7718107da93cd4d7009796763d8b6daa91b9b23 /server | |
parent | f85b5afb7c055b2a0140a2076bf7f58a29195c06 (diff) | |
download | PeerTube-dd200d34773905300c871e3a779556755df293d9.tar.gz PeerTube-dd200d34773905300c871e3a779556755df293d9.tar.zst PeerTube-dd200d34773905300c871e3a779556755df293d9.zip |
Fix missing Account.name on getAuthUser return type.
Diffstat (limited to 'server')
-rw-r--r-- | server/types/plugins/register-server-option.model.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/types/plugins/register-server-option.model.ts b/server/types/plugins/register-server-option.model.ts index 9f472d900..ff32e8199 100644 --- a/server/types/plugins/register-server-option.model.ts +++ b/server/types/plugins/register-server-option.model.ts | |||
@@ -106,6 +106,9 @@ export type PeerTubeHelpers = { | |||
106 | email: string | 106 | email: string |
107 | blocked: boolean | 107 | blocked: boolean |
108 | role: UserRole | 108 | role: UserRole |
109 | Account: { | ||
110 | name: string | ||
111 | } | ||
109 | } | undefined> | 112 | } | undefined> |
110 | } | 113 | } |
111 | } | 114 | } |