feat(client): regenerate openapi types

This commit is contained in:
2025-06-16 12:56:30 +05:00
parent ee92428ec3
commit 92203351ff
4 changed files with 16 additions and 21 deletions

View File

@@ -8,7 +8,7 @@ export class AuthService {
static async login(auth: Auth) {
const token = await api.login(auth);
useAuthStore.getState().setAccessToken(token.accessToken);
localStorage.setItem('refreshToken', token.refreshToken);
localStorage.setItem('refreshToken', token.refreshToken as string);
await UserService.getProfile().then((user) => {
useUserStore.getState().setUser(user);
});