mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-12-01 12:59:15 -06: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