fix(FE): resolve conflict pull branch development

This commit is contained in:
randy-ar
2025-12-03 21:21:42 +07:00
28 changed files with 4007 additions and 2126 deletions
+23
View File
@@ -0,0 +1,23 @@
import axios from 'axios';
import { httpClient } from '@/services/http/client';
import { BaseApiResponse, LogoutResponse } from '@/types/api/api-general';
export class AuthApiService {
async logout() {
try {
const logoutRes = await httpClient<LogoutResponse>(`/sso/logout`, {
method: 'POST',
});
return logoutRes;
} catch (error) {
if (axios.isAxiosError<BaseApiResponse>(error)) {
return error.response?.data;
}
return undefined;
}
}
}
export const AuthApi = new AuthApiService();
+477 -1033
View File
File diff suppressed because it is too large Load Diff