mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-08-17 17:30:32 +03:00
fix(client/plugins): getUser returns MyUser
Avoid exposing AuthUser as external API.
This commit is contained in:
parent
8624325523
commit
eb51d65448
@ -1,5 +1,5 @@
|
||||
import { AuthUser } from '@app/core'
|
||||
import {
|
||||
MyUser,
|
||||
RegisterClientFormFieldOptions,
|
||||
RegisterClientHookOptions,
|
||||
RegisterClientRouteOptions,
|
||||
@ -36,7 +36,7 @@ export type RegisterClientHelpers = {
|
||||
|
||||
getSettings: () => Promise<SettingEntries>
|
||||
|
||||
getUser: () => AuthUser
|
||||
getUser: () => MyUser
|
||||
|
||||
getServerConfig: () => Promise<ServerConfig>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user