Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript error in users.ts - getSessionRecord does not exist #4605

Open
gustavosbarreto opened this issue Feb 22, 2025 · 0 comments
Open

Comments

@gustavosbarreto
Copy link
Member

When running npm run build, a TypeScript error occurs in src/store/api/users.ts, indicating that getSessionRecord does not exist in UsersApi.

Error Message

src/store/api/users.ts:21:49 - error TS2551: Property 'getSessionRecord' does not exist on type 'UsersApi'. Did you mean 'setSessionRecord'?

21 export const getSecurity = async () => usersApi.getSessionRecord();
                                                   ~~~~~~~~~~~~~~~~

  src/api/client/api.ts:17668:12
    17668     public setSessionRecord(tenant: string, setSessionRecordRequest?: SetSessionRecordRequest, options?: AxiosRequestConfig) {
                     ~~~~~~~~~~~~~~~~
    'setSessionRecord' is declared here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant