chore: plans 폴더 git 추적 제거 및 코드 업데이트
- plans/ 폴더를 .gitignore에 추가하고 git 추적에서 제거 - WtmAuthController, UserRoleRepository 수정 - ApprovalPendingView, auth.service 수정 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
이 Commit은 다음에 포함되어 있습니다:
@@ -25,7 +25,7 @@ async function loadPending() {
|
||||
loading.value = true;
|
||||
try {
|
||||
const { data } = await approvalService.getPending();
|
||||
items.value = Array.isArray(data) ? data : (data as any).items ?? [];
|
||||
items.value = Array.isArray(data) ? data : (data as any).content ?? (data as any).items ?? [];
|
||||
} catch {
|
||||
toast.add({ severity: 'error', summary: '오류', detail: '결재 대기 목록 로드 실패', life: 5000 });
|
||||
} finally {
|
||||
|
||||
@@ -5,7 +5,7 @@ const BASE = '/api/wtm/auth';
|
||||
|
||||
export const authApi = {
|
||||
login: (data: LoginRequest) => api.post<LoginResponse>(`${BASE}/login`, data),
|
||||
me: () => api.get<AuthUser>(`${BASE}/me`),
|
||||
me: () => api.get<AuthUser>(`${BASE}/me/profile`),
|
||||
refresh: (refreshToken: string) => api.post(`${BASE}/refresh`, { refreshToken }),
|
||||
logout: () => api.post(`${BASE}/logout`),
|
||||
resetPassword: (email: string) => api.post(`${BASE}/password/reset`, { email }),
|
||||
|
||||
새 Issue에서 참조
사용자 차단