summaryrefslogtreecommitdiff
path: root/lib/swp/actions.ts
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-10-24 15:18:36 +0900
committerjoonhoekim <26rote@gmail.com>2025-10-24 15:18:36 +0900
commit3e85fbde628bb556e5f6a93cafd9ba4d53031461 (patch)
tree165726e29fe8a11a437dea06217ec4b202219e23 /lib/swp/actions.ts
parent912e2bc761d7d57bd33d68cb5050da43dea59636 (diff)
(김준회) fix: SWP 초기 개발건 오류 수정
Diffstat (limited to 'lib/swp/actions.ts')
-rw-r--r--lib/swp/actions.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/swp/actions.ts b/lib/swp/actions.ts
index 79c0bafe..694936ab 100644
--- a/lib/swp/actions.ts
+++ b/lib/swp/actions.ts
@@ -31,7 +31,7 @@ export interface SwpDocumentWithStats {
DOC_NO: string;
DOC_TITLE: string;
PROJ_NO: string;
- PROJ_NM: string;
+ PROJ_NM: string | null;
PKG_NO: string | null;
VNDR_CD: string | null;
CPY_NM: string | null;
@@ -140,7 +140,7 @@ export async function fetchSwpDocuments(params: SwpTableParams) {
};
} catch (error) {
console.error("[fetchSwpDocuments] 오류:", error);
- throw new Error("문서 목록 조회 실패");
+ throw new Error("문서 목록 조회 실패 [SWP API에서 실패가 발생했습니다. 담당자에게 문의하세요]");
}
}