Skip to content

Commit

Permalink
fix(client/plugins): getUser returns MyUser
Browse files Browse the repository at this point in the history
Avoid exposing AuthUser as external API.
  • Loading branch information
kontrollanten authored and Chocobozzz committed May 17, 2024
1 parent 8624325 commit eb51d65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/types/register-client-option.model.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AuthUser } from '@app/core'
import {
MyUser,
RegisterClientFormFieldOptions,
RegisterClientHookOptions,
RegisterClientRouteOptions,
Expand Down Expand Up @@ -36,7 +36,7 @@ export type RegisterClientHelpers = {

getSettings: () => Promise<SettingEntries>

getUser: () => AuthUser
getUser: () => MyUser

getServerConfig: () => Promise<ServerConfig>

Expand Down

0 comments on commit eb51d65

Please sign in to comment.