내비게이션, 테마 적용

This commit is contained in:
2025-07-31 19:06:58 +09:00
parent 3ccb0c8f8a
commit 211689e889
19 changed files with 641 additions and 1460 deletions

View File

@@ -38,4 +38,24 @@ export const getIssues = async (projectId: string): Promise<Issue[]> => {
const result = await response.json();
return result.items || [];
};
/**
* 특정 프로젝트의 단일 이슈 상세 정보를 가져옵니다.
* @param projectId 프로젝트 ID
* @param issueId 이슈 ID
* @returns 이슈 상세 정보 Promise
*/
export const getIssue = async (
projectId: string,
issueId: string,
): Promise<Issue> => {
const url = `/api/projects/${projectId}/issues/${issueId}`;
const response = await fetch(url);
if (!response.ok) {
await handleApiError("이슈 상세 정보를 불러오는 데 실패했습니다.", response);
}
return response.json();
};